Hi folks -
I'm having a terrible time getting mysql support up for php5 on my devlopment machine. I'm new to the php environment, and I'm obviously missing something, hopefully something obvious to those more experienced! Is there some other library I need besides php_mysql and libmysql maybe?
php5 (just downloaded)
mysql 4.0.20a-nt (as reported by c:/php/bin/mysql)
extension_dir = "c:/php/ext/"
php_mysql.dll is in c:/php/ext/
libmySQL.dll is in c:/windows/system32/
My simple test code:
echo '<br> php running';
$dbcnx = mysql_connect('localhost');
echo '<br> connection ran OK';
Warning: PHP Startup: Unable to load dynamic library 'c:/php/ext/php_mysql.dll' - The specified procedure could not be found. in Unknown on line 0
Content-type: text/html X-Powered-By: PHP/5.0.0
Fatal error: Call to undefined function mysql_connect() in c:\Inetpub\wwwroot\CAFGPHP\test.php on line 4
PHP Warning: PHP Startup: Unable to load dynamic library 'c:/php/ext/php_mysql.dll' - The specified procedure could not be found. in Unknown on line 0
Thanks so much for your help.