Jump to content


This topic is now archived and is closed to further replies.


php/mysql installation

Recommended Posts

hi, i am quite experience with php/mysql so it is not a matter of php functions.


Fatal error: Call to undefined function mysql_connect() in D:\Documents and Settings\Administrator\Desktop\WWW\index.php on line 2


i have installed mysql 5 and the new php.

By installing php5, i installed the installer and then added the zip package for extensions, it didnt work.


if no-body knows, can someone give me a combination of php and mysql which does work.



Share this post

Link to post
Share on other sites

Could be a bunch of things; usually, Apache and/or PHP are not configured properly with MySQL support. Check the extensions section of the php.ini file (BTW, I think you need mysqli libraries for MySQL 5) for the correct line, and make sure Apache knows where to find them!


Hope that helps -- I believe I replied to another similar thread in this forum recently.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.