2013-06-13 56 views
0

我在Windows 7 Business上,我已经安装了Apache 2.2.21和PHP 5.3.5。我想我的本地开发机上尝试一下上安装交响曲,但我设法得到它在我的系统我得到以下错误:在Windows机器上安装LibXSLT时遇到问题

Symphony needs an XSLT processor such as LibXSLT or Sablotron to build pages.

于是我就在PHP manual page为了使这些功能我发现这条线:

PHP 5 includes the XSL extension by default and can be enabled by adding the argument --with-xsl[=DIR] to your configure line. DIR is the libxslt installation directory.

但我不知道它指的是什么配置行。更多在向下滚动页面,有关于Windows系统注释:

If you want to activate this extension on Windows, uncomment ";extension=php_xsl.dll" in your php.ini file, and direct it to its respective folder. e.g. "extension=ext/php_xsl.dll"

";extension=php_xsl.dll"是不是在我的php.ini文件。那么如何获得这个扩展工作?

回答

0

它太晚了,我想你已经知道了! 修复非常简单,实际上。

启动WAMPServer,去PHP> PHP扩展和检查“php_xsl”

这有效地取消选中的注释在php.ini并启用php_xsl.dll 服务器将重新启动并田田! Symphony已准备好安装。