win7 PHP7.0的PDO扩展

一个要命费力的问题,win7(64员)环境,编译安装之mysql,php无法用pdo扩展。

图片 1

如果我的centos中yum安装之php,pdo是好用的。

图片 2

百度了同等挺堆,都没法儿化解。

多百度到的且是设被这有限只:

extension=php_pdo.dll
extension=php_pdo_mysql.dll

然而我之php.ini文件中常有无第一单,ext文件夹着吗实在没php_pdo.dll。

要是自我查http://windows.php.net/download/立马其间的7.0同7.1版,也整整都未曾php_pdo.dll这个dll,可能百度到的攻略全部凡对准php5的。

图片 3

然后嘀咕是这里的题材,结果比较对以下这里一抹平

图片 4

 

各种猜疑,然后找了个测试文件,测试各个php扩展是否能够就此,这生好了curl也是不克因此底,而curl也是自得要为此的。

Your server does not meet the following requirements in order to
install Magento.

The following requirements failed, please contact your hosting provider
in order to receive assistance with meeting the system 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

 

实际上心有余而力不足了,网上连英文的还抄了,也从不,只好去php文件夹一个一个扣。万幸真的看看了问题

图片 5

 

迫不得已之下开始找各种其他Apache下载,最后找到了赫赫之phpstudy,真没举行广告,发现只有这个好只要,它的安排是如此的,只要依照这个布局,我别十几个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 be 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

 

感想:

1:开源软件,非要的扩张,别TM开启。

网站地图xml地图