PDO extension for Win7 PHP7.0

Source: Internet
Author: User
Tags apache download

A very tricky issue, Win7 (64-bit) environment, compiled and installed mysql,php cannot use PDO extensions.

And the Yum installed in my CentOS Php,pdo is easy to use.

Baidu has a large pile, can not solve.

Basically Baidu to have to open these two:

Extension=php_pdo.dll
Extension=php_pdo_mysql.dll

But there is no first in my php.ini file, and the Ext folder does not have a php_pdo.dll.

And I see http://windows.php.net/download/this inside of 7.0 and 7.1 version, also all did not php_pdo.dll this DLL, maybe Baidu to the Raiders are all aimed at php5.

And then I suspect it's the problem here, and the result is a touch of it.

A variety of doubts, and then found a test file, test each PHP extension can be used, this good curl is also not available, and curl is what I have to use.

Your server does not meet the following requirements on order to install Magento.
The following requirements failed, please contact your hosting provider in order to receive assistance with meeting the SY Stem Requirements for Magento:

    • You are missing the Curl extension
    • You are missing the gd extension
    • You are missing the pdo_mysql extension

The following requirements were successfully met:

    • You have PHP 5.2.0 (or greater)
    • Safe Mode is off
    • You have MySQL 4.1.20 (or greater)
    • You have the Dom extension
    • You have the hash extension
    • You have the iconv extension
    • You have the mcrypt extension
    • You have the pcre extension
    • You have the PDO extension
    • You have the simplexml extension

There is no way, the Internet even search the English, there is no, had to go to the PHP folder a look. Luckily, I saw the problem.

Helpless began to find a variety of other Apache download, finally found the great phpstudy, really did not advertise, found only this so that its configuration is so, as long as the configuration, I have all the other more than 10 Apache.

Extension=php_bz2.dll
Extension=php_curl.dll
; Extension=php_fileinfo.dll
; Extension=php_ftp.dll
Extension=php_gd2.dll
; Extension=php_gettext.dll
; Extension=php_gmp.dll
; Extension=php_intl.dll
; Extension=php_imap.dll
; Extension=php_interbase.dll
; Extension=php_ldap.dll
Extension=php_mbstring.dll
; Extension=php_exif.dll; Must is after mbstring as it depends on it
Extension=php_mysqli.dll
; Extension=php_oci8_12c.dll; Use with Oracle Database 12c Instant Client
; Extension=php_openssl.dll
; Extension=php_pdo_firebird.dll
Extension=php_pdo_mysql.dll
; Extension=php_pdo_oci.dll
; Extension=php_pdo_odbc.dll
; Extension=php_pdo_pgsql.dll
Extension=php_pdo_sqlite.dll
; Extension=php_pgsql.dll
; Extension=php_shmop.dll

Feelings:

1: Open source software, non-required extensions, do not open TM.

PDO extension for Win7 PHP7.0

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.