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

CommentFileSizeAuthor
XMLContent.jpg194.63 KBRamMohanSakhamuri

Comments

weam’s picture

Raamu, 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.

RamMohanSakhamuri’s picture

Hi 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

John Bryan’s picture

How 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

panji’s picture

extension=domxml.so

thompcha’s picture

I 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

dpearcemn’s picture

I'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".

cameron tod’s picture

If you're using Debian or Ubuntu, you can solve this issue by installing the php5-xsl package.

apt-get install php5-xsl

After that package is installed, restart Apache and all should be fine.