PHP is not loaded on MySQL

Source: Internet
Author: User
PHP Version: 5.2.9

MySQL version: 5.1.34,installer version

For example, my PHP installation path is E:\php5.2.9

Apache Configuration:

, new addition: index.php

In , new add: AddType application/x-httpd-php. php

Search LoadModule, after the last sentence LoadModule, the new addition

LoadModule php5_module "E:/php5.2.9/php5apache2_2.dll"
Phpinidir "e:/php5.2.9"

PHP.ini Php_mysql.dll Before the comments are also removed, the page phpinfo () output, do not display MySQL,

Reason: To set the installation path of PHP, the system variable, that is, path, this variable. Add E:\php5.2.9 and E:\php5.2.9\ext to the PATH variable! Restart your computer!

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