Today when I was using phpwind9.0, I found that I actually needed to install the pdo_mysql component when installing it. I personally think this is a stupid approach. How many webmasters have the space to modify the php.ini configuration? Why? The phpwind team feels helpless to do this
Let me introduce some methods below. Friends who have server operation permissions can refer to the following methods.
Common mistakes:
1.pdo_mysql is not installed
Solution:
Modify the local php.ini configuration, taking php under Win as an example,
Found
The code is as follows
|
Copy code
|
||||||||
;extension=php_pdo_mysql.dll ;extension=php_pdo.dll was changed to;extension=php_pdo_mysql.dll
Remove the preceding semicolon ";". Just restart the apache service. Linux server handling methods
Restart after installation: service httpd restart and service nginxd restart Then install phpwind9.0 again to solve the problem! This method can solve: wdcp environment VPS, the problem that pdo_mysql is not installed and the database connection fails in the configuration of Alibaba Cloud server could not find driver! http://www.bkjia.com/PHPjc/632078.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632078.htmlTechArticleToday when using phpwind9.0, I found that when installing it, I actually need to install the pdo_mysql component. I personally think this is a What a stupid idea. How many webmasters have space permissions now? |