mysql
Smoothie asked:


I have all three installed and they run separate of eachother. Apache and php are working great, I just can’t get MySql to come to the party.

Comments

Christopher S on 18 March, 2008 at 8:42 am #

You will have to recompile php using the –with-mysql flag.

Check the php documentation for more details.


jdorndog on 18 March, 2008 at 4:03 pm #

First of all, create a test PHP page that has the following code:

Open this and see if mysql is listed somewhere.

If it is, then php and mysql are working. You just need to connect to the database.

If it isn’t, then you need to edit the php.ini file. Go the the bottom of the file and add the line
extension=php_mysql.dll
Then restart apache.

If that doesn’t work, I would install PHP again from scratch following the tutorial on


Post a Comment
Name:
Email:
Website:
Comments: