Hello? Gay now!

Willow ,'Showtime'


Buffistechnology 3: "Press Some Buttons, See What Happens."

Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!


Jessica - Apr 13, 2011 3:24:53 am PDT #16506 of 25505
And then Ortus came and said "It's Ortin' time" and they all Orted off into the sunset

I'm also very happily on Dreamhost.


Connie Neil - Apr 13, 2011 10:26:28 am PDT #16507 of 25505
brillig

So Hubby updated to Firefox 4 and now regrets it. How can he roll back?


Tom Scola - Apr 13, 2011 10:49:23 am PDT #16508 of 25505
hwæt

Heh.


Calli - Apr 13, 2011 11:02:20 am PDT #16509 of 25505
I must obey the inscrutable exhortations of my soul—Calvin and Hobbs

I was wondering if someone here could help me with a PHP/MySQL problem, please. I'm taking an eLearning course in an attempt to learn PHP/MySQL. So far I've installed PHP, Apache, and MySQL on my Windows XP laptop. Everything went fine until I was attempting to run a php file to test whether PHP had MySQL enabled. I got the error:

Fatal error: Call to undefined function mysql_connect() in c:program filesapache groupApachehtdocsmysql_connect.php on line 2

I thought I'd edited the php.ini file to enable php_mysql.dll . When I ran the phpinfo file it said the php.ini file was in the WINDOWS folder, and that's the one I edited. I restarted apache.

I'm not sure how to proceed. Suggestions?


Tom Scola - Apr 13, 2011 11:03:32 am PDT #16510 of 25505
hwæt

Look in the errors logfile?


amych - Apr 13, 2011 11:05:42 am PDT #16511 of 25505
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

I'm assuming the course is more focused on writing php than system administration? In that case, I strongly recommend that you skip installing and configuring everything by hand and just use XAMPP: [link]


Calli - Apr 13, 2011 11:11:30 am PDT #16512 of 25505
I must obey the inscrutable exhortations of my soul—Calvin and Hobbs

Unfortunately, installing and configuring everything myself is part of the course which I need to pass (it's a work thing).

I'll be happy to look in the errors logfile. Where might that sort of thing live?


Tom Scola - Apr 13, 2011 11:13:56 am PDT #16513 of 25505
hwæt

There should be an entry for where the error file lives in the httpd.conf file.


Calli - Apr 13, 2011 11:15:09 am PDT #16514 of 25505
I must obey the inscrutable exhortations of my soul—Calvin and Hobbs

OK, thank you. And where does the httpd.conf file live?


amych - Apr 13, 2011 11:16:38 am PDT #16515 of 25505
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

Ah - in that case, carry on with your error logging. And if you're ever looking for a php environment that's easier to set up once you're done with the class, XAMPP (or MAMP, which is a Mac-only thingie along the same lines) makes it very easy. Not something you'd use for an actual server, but I use it on all my machines when I want to run a local test/development environment.