When a php connection to the mysql database fails, the specified program cannot be found to start apache & nbsp; the following prompt is displayed: & nbsp; PHPStartup: Unabletoloaddynamiclibraryd: php5.0.0extphp _ mysql. dll-the specified program cannot be found. I have read this file in this directory & nbsp; in php. in ini, I have removed the php connection to the mysql database. the specified program cannot be found.
When apache is started
Note:
PHP Startup: Unable to load dynamic library 'd: \ php5.0.0 \ ext \ php_mysql.dll '-the specified program cannot be found
I have read this file in this directory.
In php. ini, I have removed the semicolon of the extension.
I don't know why
------ Solution --------------------
Copy libmysql. dll to the apache Directory or system32 directory. Restart.
Copy php_mysql.dll to the apache Directory or system32 directory. Restart
------ Solution --------------------
If you copy libmysql. dll php_mysql.dll to system32
I don't know.
------ Solution --------------------
Put the php5ts. dll, libmysql. dll, and libmcrypt. dll files in the php5 root directory to the system32 directory of the system.
I created it using IIS. I don't know if APACHE is the same. You try to delete the original package and re-install it again. I started to see that the database is not connected, and I forgot this step.
------ Solution --------------------
Http://cn.php.net/manual/en/mysql.installation.php
PHP 5 +
Note: If when starting the web server an error similar to the following occurs: "Unable to load dynamic library '. /php_mysql.dll '", this is because php_mysql.dll and/or libmysql. dll cannot be found by the system.
Also, make sure that your apache is reading the php. ini file. use phpinfo () to check it out.