2013-06-13 55 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已準備好安裝。