Check the Apache log 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' - xd5xd2xb2xbbxb5xbdxd6xb8xb6xa8xb5xc4xc4xa3xbfxe9xa1xa3rn 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' - xd5xd2xb2xbbxb5xbdxd6xb8xb6xa 8xb5xc4xc4xa3xbfxe9xa1xa3rn in Unknown on line
0
Repeat the check, the paths of php_pdo_mysql.dll and php_pdo_mysql.dll are both correct, why did the loading fail?
Open cmd, enter php and press the Enter key, as shown below. The system reported an error, indicating that php_pdo.dll is missing. Note that it is php_pdo.dll, not php_pdo_mysql.dll and php_pdo_mysql.dll
php_pdo.dll This file is in a higher version of php Does not exist, such as php-5.4.33. But php-5.2 needs to load this dll, otherwise it will cause loading of php_pdo_mysql.dll and php_pdo_mysql.dll
fail.
Solution: In php.ini, find ";extension=php_pdo.dll" and remove ";".
The above introduces the startup failure of httpd-2.2.29 + php-5.2.17, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.