PHP5.3 an unsuccessful solution for configuring PHP pdo mysql for the Yii php framework

Source: Internet
Author: User

Because the project needs to use the PHP Yii framework, some colleagues configured php and yii in the Yii framework and accessed the necessary webpage of the Yii component to show that mysql pdo has not been loaded: php has been checked. INI file, the component has been set to load: extension_dir = "ext" cgi. force_redirect = 0 extension = php_mbstring.dll extension = php_mysql.dllextension = Limit = limit after research and experiment, it is found that the extension_dir is the cause and must be set to an absolute path to load successfully: extension_dir = "D: /var/php53/ext "restart Apache, then open the Yii framework page, and display that the load is successful:

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.