Zendframework Cannot find pdo_mysql PHP Warning: Cannot load module 'pdo _ mysql' because required module 'pdo' is no
T loaded in Unknown on line 0
Why input php-v in windows dos mode always prompts the above problems! Zend framework cannot be used!
Reply to discussion (solution)
Phpinfo (); check whether the pdo extension is enabled
No such information!
In php. ini, find
; Extension = php_pdo.dll
; Extension = php_pdo_mysql.dll
Remove the semicolon and restart the service.
Upstairs positive solution
This is also the problem. php. ini does not restart phpinfo () after modification.
Restart the AppServ service according to the operation on the third floor.
1. if it is linux, you need to compile the php extension module into the php environment ~
2. if it is win, copy the dll link library to the php ext directory, and modify the configuration file to enable it.
Solution on the fourth floor