[英]What to install to make XSLTProcessor work?
我正在使用PHP版本5.3.2-1ubuntu4.11
LibXML已啟用:
dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.7.6
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
但是,當我寫的時候: $XP = new XSLTProcessor;
解析器不知道我在說什么。 我使用自動加載...找不到要包含的文件。 我想念什么?
--with-xsl[=DIR]
其中DIR是libxslt安裝目錄
當您執行手動./configure時,從源代碼進行PHP的安裝
要么
sudo apt-get install php5-xsl
可能有用
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.