: This article mainly introduces the httpd-2.2.29 + php-5.2.17 startup failure, for PHP tutorials interested in students can refer to it. View Apache logs and find the following warning:
PHP Warning: PHP Startup: Unable to load dynamic library 'E: \ PHP-Apache2410 \ php-5.2.17-Win32-VC6-x86 \ ext \ php_pdo_mysql.dll '-\ xd5 \ xd2 \ xb2 \ xbb \ xb5 \ xbd \ xd6 \ xb8 \ xb6 \ xa8 \ xb5 \ xc4 \ xc4 \ xa3 \ xbf \ xe9 \ xa1 \ xa3 \ r \ n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'E: \ PHP-Apache2410 \ php-5.2.17-Win32-VC6-x86 \ ext \ php_pdo_mysql.dll '-\ xd5 \ xd2 \ xb2 \ xbb \ xb5 \ xbd \ xd6 \ xb8 \ xb6 \ xa8 \ xb5 \ xc4 \ xc4 \ xa3 \ xbf \ xe9 \ xa1 \ xa3 \ r \ n in Unknown on line 0
Check again. The paths of php_pdo_mysql.dll and php_pdo_mysql.dll are correct. Why does the loading fail?
Open cmd and enter php and press enter, as shown in figure. The system reports an error, prompting you to lose php_pdo.dll. Note that php_pdo.dll is not php_pdo_mysql.dll or php_pdo_mysql.dll.
Php_pdo.dll this file does not exist in a later version of php, such as php-5.4.33. But the php-5.2 needs to load this dll, otherwise it will cause loading php_pdo_mysql.dll and php_pdo_mysql.dll to fail.
Solution: in php. ini, find "; extension = php_pdo.dll" and remove.
The above introduces the httpd-2.2.29 + php-5.2.17 startup failure, including the content of the aspect, hope to be interested in PHP tutorials for some help.