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