简体   繁体   English

本地Windows 10 Magento安装中缺少PHP扩展

[英]Missing PHP extensions in local windows 10 Magento Installation

I'm trying install Apache + PHP + Magento2.1 + MySQL in Windows 10. 我正在尝试在Windows 10中安装Apache + PHP + Magento2.1 + MySQL。

I've already installed: 我已经安装了:

      Magento-CE-2.1.8_sample_data
              Content saved in C\Apache24\htdocs
      Apache-2.4.27-Win64-VC15.zip
              Directory: C\Apache24
      PHP Version 5.6.31 php-5.6.31-Win32-VC11-x64.zip
              Directory: C:\PHP
       mysql-community-5.7.19 (Msi installer)

In the setup installation (Readiness Check) the follow errors are showed: 在安装程序安装(就绪检查)中,显示以下错误:

              PHP Extension curl.
              PHP Extension xsl.
              PHP Extension intl.
              PHP Extension mbstring.
              PHP Extension openssl.
              PHP Extension gd.

I've already uncomment this extensions in php.ini I've copied icud?57.dll files in apache root dir. 我已经取消对php.ini中此扩展名的注释,我已经在apache根目录中复制了icud?57.dll文件。 Can anyone tell me, What can be happening? 谁能告诉我,会发生什么? Thanks! 谢谢!

The PHP modules loaded are: 加载的PHP模块是:

C:\>cd php
C:\php>php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
ereg
exif
filter
ftp
gd
hash
iconv
intl
json
libxml
mbstring
mcrypt
mhash
mysqli
mysqlnd
odbc
openssl
pcre
PDO
pdo_mysql
Phar
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib
[Zend Modules]

Versions from 5.6.0 to 5.6.4 are not supported. 不支持从5.6.0到5.6.4的版本。 Only php 5 supported are from 5.6.5 and above. 5.6.5及以上版本仅支持php 5。

I'd better suggest using php 7 to have better support also for your extensions 我最好建议使用php 7为您的扩展也提供更好的支持

Check it better here 在这里检查更好

Otherwise, check better for the PHP modules you are enabling. 否则,请更好地检查您要启用的PHP模块。 According to this question you have to make sure that all the subsequent modules are enabled, and some are missing in your list. 根据此问题,您必须确保所有后续模块均已启用,并且列表中缺少某些模块。

PDO/MySQL
mbstring
mcrypt
mhash, 
simplexml, 
curl, 
gd2, 
ImageMagick 6.3.7 (or later) or both 
soap and
add xdebug.max_nesting_level=50000; at php.ini

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM