Hi all,
After enabling the XML Content module,I'm getting the following warning for XML Content...
-----"XML Content: Your instalation of PHP does not have appropriate XML/XSL support. XML Content should be disabled."-----
Can anybody guide me to rectify the above warning. Where i have to disable 'XML Content'?
Thx in Advance,
RaamU
| Comment | File | Size | Author |
|---|---|---|---|
| XMLContent.jpg | 194.63 KB | RamMohanSakhamuri |
Comments
Comment #1
weam commentedRaamu, if you are using PHP 5, then you have XML support out of the box. You need to enable XML support in PHP in the php.ini file, and if you do that XML Content will work nicely and you wouldn't need to disable it.
Comment #2
RamMohanSakhamuri commentedHi Weam,
Thanks for your clarifications. I’m having trouble understanding the usage process of XML Content. Hope u will guide me for next steps. Bocoz i am trying to move my site contents for Mobiles.
Thx,
RaamU
Comment #3
John Bryan commentedHow do I enable XML in 'php.ini', or rather I suspect libxslt, as per the readme.txt.
XML Content currently depends on the libxslt library for PHP. If you have PHP 5, then it is installed by default. However check with the PHP ini files to make sure it is enabled.My PHPINFO shows:-
libxml : active
SimpleXML : enabled
xml : active
no mention of libxslt
Comment #4
panji commentedextension=domxml.so
Comment #5
thompcha commentedI too received this warning message. To fix the problem, removed the semicolon in front of "extension=php_xslt.dll" on line 484 of my php.ini file.
Before:
;extension=php_xslt.dll
After:
extension=php_xslt.dll
Comment #6
dpearcemn commentedI'm getting the same error in version 6.x-1.x-dev 2009-Mar-29 using Fedora Core 10.
My PHPInfo has this in it:
PHP Version 5.2.9
'--enable-xml'
libXML support active
libXML Version 2.7.3
libXML streams enabled
XML Support active
XML Namespace Support active
libxml2 Version 2.7.3
Everything seems good. What is missing?
-------------------------------------
Found it. Needed "yum install php-xml.x86_64" an "service httpd restart".
Comment #7
cameron tod commentedIf you're using Debian or Ubuntu, you can solve this issue by installing the php5-xsl package.
After that package is installed, restart Apache and all should be fine.