Click to See Complete Forum and Search --> : undefined mysql_connect() Error, HELP


guil
08-09-2006, 09:05 AM
Hi Everyone,

I have this error every time when i build and try to execute my php script
my Apache is running well, I've install Mysql5 , and after remove it , I've put easyphp and the problem is still there

How can do ? do define mysql_connect() and others

Thanks

Guil

tsinka
08-11-2006, 02:15 PM
Hi,

it looks like the php extension isn't enabled. There should be a php.ini file somewhere in the easyphp installation.

Make sure that a line containing
extension=php_mysql.dll
exists in the php.ini. Remove the ; in front of the line if it already exists and restart apache. You can enable other extensions you need the same way.

I never installed easyphp so I don't know exactly where the php.ini file is.

Thomas