Pdo_mysql cannot be found in zendframework

Source: Internet
Author: User
Tags zend framework
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

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.