Httpd-2.2.29 + php-5.2.17 failed to start

Source: Internet
Author: User
Tags php tutorial
view Apache logs and notice 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

Repeat check,php_pdo_mysql.dll and php_pdo_mysql.dll paths are all right, why did the load fail?

Open cmd, enter PHP press ENTER, such as. System error, indicating the loss of Php_pdo.dll. Attention is Php_pdo.dll, not php_pdo_mysql.dll and php_pdo_mysql.dll .


Php_pdo.dll This file does not exist in PHP with a higher version, such as php-5.4.33. However , php-5.2 needs to load this DLL, otherwise it will cause load php_pdo_mysql.dll and php_pdo_mysql.dll to fail.

Solution: In the php.ini, find "; Extension=php_pdo.dll", put ";" Remove.

The above describes the Httpd-2.2.29 + php-5.2.17 startup failure, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • 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.