I have a problem getting PHP 5.0.3 to talk to mySQL 4.1.10.
I am building a new server, with the following software:
- Windows 2003 Server Standard Edition
- Apache 2.0.53 (Running as local_system)
- PHP 5.0.3
- mySQL 4.1.10 (running as local_system)
- mySQL Administrator 1.0.19
- phpMyAdmin 2.6.1-pl3
I have installed Apache and checked that it works. I get the normal "If you can see this....." page.
I have installed mySQL and configured it with the wizard. It works fine, no errormessages.
I have installed mySQL administrator and checked that I can talk to the database.
I have installed PHP and done some editing in php.ini, and in httpd.conf.
I put the lines for using php5 into httpd.conf.
When looking at a phpinfo page, everything looks fine. PHP tells a lot about the system it is running on.
I want to use 4 extensions. If I tell PHP to use php_gd2.dll, php_mbstring.dll and php_gettext.dll only I get no error-messages from Apache when it starts.
As soon as I try to use the extension php_mysqli.dll and/or php_mysql.dll, and restart Apache, I get the error:
PHP Startup: Unable to load dynamic library "....\ext\php_mysqli.dll" - The specified module could not be found.
I get the same message 2 times, and then Apache starts up without support for mySQL.
When looking at a phpinfo page, everything looks fine, except that mySQL is not there :-(
I have tried copying libmysql.dll to a lot of different folders, but until now I have had no luck getting PHP 5.0.3 to talk to mySQL 4.1.10.
I have read the sticky's here on the forum, and searched all over the internet for a solution, but I cant seem to find a solution that actually helps me.