Code: Select all
phpinfo();Code: Select all
mysql_connect($db_server, $db_user, $db_password) or die ( "<H3>Server unreachable</H3>");I have looked up this error and the popular resolution seems to be to copy libmysql.dll all over the place. I have the directory that is in in my path, so I don't think that is the issue, but to make sure I did copy it to all applicable areas: System32, PHP bin, Apache bin. I have also made the MySql/bin directory the first one in my path as recommended by another poster here. My connection still fails and causes the Apache server to restart.
I also have several unrelated failures in my log file when Apache restarts:
[Fri Nov 20 12:02:23 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting.
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_curl.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_openssl.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pgsql.dll' - The specified module could not be found.\r\n in Unknown on line 0 [Fri Nov 20 12:02:24 2009] [notice] Apache/2.2.14 (Win32) PHP/5.3.0 configured -- resuming normal operations [Fri Nov 20 12:02:24 2009] [notice] Server built: Sep 28 2009 22:41:08 [Fri Nov 20 12:02:24 2009] [notice] Parent: Created child process 1860 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_curl.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_openssl.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pgsql.dll' - The specified module could not be found.\r\n in Unknown on line 0 [Fri Nov 20 12:02:24 2009] [notice] Child 1860: Child process is running [Fri Nov 20 12:02:24 2009] [notice] Child 1860: Acquired the start mutex.
[Fri Nov 20 12:02:24 2009] [notice] Child 1860: Starting 64 worker threads.
[Fri Nov 20 12:02:24 2009] [notice] Child 1860: Starting thread to listen on port 80.
Any ideas?