Click to See Complete Forum and Search --> : PHP & MySQL Install Error


anaracaix
08-08-2006, 06:55 PM
Hello everybody,

I installed PHP 5.1.4, MySQL 5, and Apache 2.2.3 on my Win XP PC. Apache and PHP seem to work fine together. I tried installing a PHP script and got an error

PHP 5.1.4 installed Could not find a suitable database driver!
For MySQL, compile PHP using --with-mysql, or install the mysql.so module


How do I fix this error? I installed PHP using the ZIP version.

iNFERiON
08-08-2006, 09:53 PM
Check your php.ini file if this line is uncommented (meaning it has no ; in front of it).

extension=php_mysql.dll