Httpd-2.2.29 + php-5.2.17 startup failed

Source: Internet
Author: User
: 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.