PHP5.3 an unsuccessful solution for configuring phppdomysql for the YiiPHP framework _ PHP Tutorial

Source: Internet
Author: User
PHP5.3 fails to configure phppdomysql for the YiiPHP framework. Because the project needs to use the PHPYii framework, some colleagues configured php and yii in the Yii Framework, and accessed the necessary webpage of the Yii component to show that mysqlpdo has not been loaded: php has been checked. ini file, the component has been set because the project needs to use the PHP Yii Framework, some colleagues configured php and yii in the Yii Framework, access the necessary conditions of the Yii component web page shows that mysql pdo has not been loaded:

After checking the php. ini file, the component has been set to load:

Extension_dir = "ext"

Cgi. force_redirect = 0

Extension = php_mbstring.dll

Extension = php_mysql.dll

Extension = php_mysqli.dll

Extension = php_pdo_mysql.dll

After research and experiment, it is found that the reason is extension_dir. it must be set to an absolute path to load successfully:

Extension_dir = "D:/var/php53/ext"

Restart Apache, open the Yii Framework page, and display that the load is successful:

In the Yii Framework, some colleagues configured php and yii in the Yii Framework. when accessing the necessary conditions page of the Yii component, mysql pdo has not been loaded: After checking the php. ini file, the component has been set up...

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.