php xsl 扩展缺少 magento 准备检查
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/34729673/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
php xsl extension missing magento readiness check
提问by Dennis
I'm trying to install magento on my Windows 10 system with MAMP PRO, and I have been getting the same error over and over for a while now. The magento installer says that my php xsl extension is missing. To install the extension, the manualsays that I have to add the argument --with-xsl[=DIR]
to my configure line but I have no idea how to do this.
我正在尝试使用 MAMP PRO 在我的 Windows 10 系统上安装 magento,并且我已经一次又一次地遇到相同的错误。magento 安装程序说我的 php xsl 扩展丢失了。要安装扩展,手册说我必须将参数添加--with-xsl[=DIR]
到我的配置行,但我不知道如何做到这一点。
I have added extension=php_xsl.dll
to my php.ini
file but it still isn't added. The php_xsl.dll
is present in my /ext
folder.
我已添加extension=php_xsl.dll
到我的php.ini
文件中,但仍未添加。的php_xsl.dll
存在我的/ext
文件夹中。
What could the issue be?
可能是什么问题?
回答by Sushil Kumar
Uncomment the following line from php.ini file(remove ';' from the line)..
从 php.ini 文件中取消注释以下行(从该行中删除 ';')。
;extension=php_xsl.dll
;扩展=php_xsl.dll
回答by patel jay
in xamp/php/php.ini
search and modify php.ini
file, search ;extension=php_xsl.dll
line, remove ;
at the line start and save php.ini
file. Then open xampp manager, stop Apache services and restart again.
在xamp/php/php.ini
搜索和修改php.ini
文件中,搜索;extension=php_xsl.dll
行,;
在行开始处删除并保存php.ini
文件。然后打开 xampp 管理器,停止 Apache 服务并重新启动。
回答by Anshu Mishra
This is because the XSL extension
is not enabled.
To enable the XSL extension go to the location where the MAMP (or XAMPP) is installed. Then go to php/php.ini
.
Un-comment the line extension=php_xsl.dll
and restart the server.
这是因为 XSL extension
未启用。
要启用 XSL 扩展,请转到安装 MAMP(或 XAMPP)的位置。然后去php/php.ini
。
取消注释该行extension=php_xsl.dll
并重新启动服务器。
回答by Hassan Tariq
- First, stop apache.
- Edit C:\xampp\php\php.ini
- Only remove ; at the begiinning of the line
extension=php_xsl.dll
- Then start apache again
- 首先,停止apache。
- 编辑 C:\xampp\php\php.ini
- 只删除; 在行的开头
extension=php_xsl.dll
- 然后再次启动apache
It will work proper.
它会正常工作。
回答by Nabin Rawat
- Go to php.ini file
- Change ;extension=xsl to extension=xsl
- Restart your Apache xampp
- 转到 php.ini 文件
- 将 ;extension=xsl 更改为 extension=xsl
- 重启你的 Apache xampp
回答by Dinush Chathurya
You can solve this error simply by following these easy steps.
您只需按照这些简单的步骤即可解决此错误。
- Stop the Apache server first
- Then go to C:\xampp\php
- Open php.ini file
- Then uncomment all require extensions
- Save it and exit
- Then start xampp again and try to install
- 先停止Apache服务器
- 然后转到 C:\xampp\php
- 打开 php.ini 文件
- 然后取消注释所有需要扩展
- 保存并退出
- 然后再次启动xampp并尝试安装
回答by Sandeep
After what seemed like a million frustrating attempts, I finally came across this page and the note above. For some reason, the php.ini file in my MampPro php 7.0.9 was missing the intl and xsl dll (even though I kept uncommenting the ";"
经过一百万次令人沮丧的尝试后,我终于看到了这个页面和上面的注释。出于某种原因,我的 MampPro php 7.0.9 中的 php.ini 文件缺少 intl 和 xsl dll(即使我一直取消注释“;”
Anyway - I saw the note above and was able to make the amends -- and voila, the issue was resolved.
无论如何 - 我看到了上面的注释并且能够进行修正 - 瞧,问题已经解决了。
I wish somehow this info was made available in php documentation and in MampPro site too. Hopefully, this won't be an issue in future patches or updates.
我希望以某种方式在 php 文档和 MampPro 站点中也提供此信息。希望这在未来的补丁或更新中不会成为问题。
回答by Anita Beqiri
Go to your php root folder,
转到您的php根文件夹,
Copy all icu* * * *.dll files: from C:\xampp\php
复制所有 icu* * * *.dll 文件:从 C:\xampp\php
to C:\xampp\apache\bin
到 C:\xampp\apache\bin
回答by Aaron Belchamber
Magento is often installed on Linux. The title of this question above doesn't specify the server but the question does so I stumbled on this answer though I was looking for the Linux solution. So if anyone is looking for how to enable the xsl extension on Ubuntu, the answer is here: Enable XSL on Ubuntu 12.04
Magento 通常安装在 Linux 上。上面这个问题的标题没有指定服务器,但问题确实如此,尽管我正在寻找 Linux 解决方案,但我偶然发现了这个答案。因此,如果有人正在寻找如何在 Ubuntu 上启用 xsl 扩展,答案就在这里: 在 Ubuntu 12.04 上启用 XSL
回答by Practicali
I was installing Magento 2.1 on MAMP PRO WINDOWS (something that is not supported and not done) as a total newbie.
我作为一个新手在 MAMP PRO WINDOWS 上安装 Magento 2.1(不支持也没有完成)。
The same problem popped up intl en xsl extensions missing while ; was removed.
同样的问题出现了 intl en xsl extensions missing while ; 去掉了。
After trying everything I just looked at the php.ini location phpinfo() C:\Users\Public\Documents\Appsolute\MAMPPRO\conf\php7.0.6.ini
在尝试了一切之后,我只是查看了 php.ini 位置 phpinfo() C:\Users\Public\Documents\Appsolute\MAMPPRO\conf\php7.0.6.ini
Copied the php7.0.6.ini I changed on several locations an many times just into this windows directory and all my troubles were gone.
复制 php7.0.6.ini 我在几个位置上多次更改到这个 windows 目录中,我所有的麻烦都消失了。