Magento Forum

   
Fatal error: Call to undefined function simplexml_load_string()
 
esquat
Jr. Member
 
Total Posts:  2
Joined:  2007-09-21
Toulouse, France, Europe
 

Latest Magento 0.6.12510 gives when trying to install
Fatal error: Call to undefined function simplexml_load_string() in /var/www/magento/htdocs/lib/Varien/Simplexml/Config.php on line 266

I am running php-5.2.4 on a Gentoo-box. Extensive Googling shows that I am the only one on earth to have this problem.

Any ideas ?

TIA, Andreas

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

You do not have simplexml php extension installed.
Missed that in requirements validations during install, will fix, thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
esquat
Jr. Member
 
Total Posts:  2
Joined:  2007-09-21
Toulouse, France, Europe
 

Yepp - that did the trick. Thank you very much !

For Gentoo-users: add “xmlsimple pdo mysqli” to your dev-lang/php entry in /etc/portage/package.use file. My whole entry reads like this (which is probably more than one actually needs for Magento)

dev-lang/php apache2 bzip2 cgi cli ctype curl dba expat gd iconv imap jpeg mysql mysqli nls pdo pcre pear posix postgres session ssl tiff truetype unicode xml xsl zlib tidy json xmlrpc simplexml

Thanks again, Moshe !

 
Magento Community Magento Community
Magento Community
Magento Community
 
kevinhoekman
Jr. Member
 
Total Posts:  2
Joined:  2012-06-24
Hoofddorp
 

--Removed--

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top