After trying a number of configureations, I am uable to get MySQL to work with PHP.
MySQL works on the cmd line interafce so I am sure that the MySQL installation is ok.
I have installed PHP 5.2.0 using the zip & extract techinique (rather than the msi installer) and have followed these instructions carefully. I have upadted the PATH.
PHP 5.2.0 works becuase my basic page with the phpinfo(); function in works. On this page though, there is however no reference to anything MySQL ish - and I'm sure there should be.
It is as if PHP isn't aware of MySQLs installation?
I have put phpMyAdmin on the test server - and apache is woking this ok, but when i visit http://localhost/phpMyAdmin/index.php - i get the error
phpMyAdmin - Error
Cannot load mysql extension. Please check your PHP configuration. - Documentation
I have, of course modified php.ini & rebooted so that php_mysql.dll is loaded
;extension=php_msql.dll
extension=php_mysql.dll
;extension=php_oci8.dll
Can anyone suggest any help?
Have just turned on error logging, and in error.log I get the following
[20-Jan-2008 10:33:56] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_mysql.dll' - The specified module could not be found.
in Unknown on line 0
which I find odd, becuase in php.ini I have set the extension_dir to be c:\program files\php\ext
Can anyone help?!!