attaboy Posted May 16, 2012 Share Posted May 16, 2012 What is libxml extension and how would I know if it's enabled? My book told me "Note To take advantage of SimpleXML, make sure PHP's libxml extension is enabled. Quote Link to comment https://forums.phpfreaks.com/topic/262632-what-is-libxml-extention/ Share on other sites More sharing options...
titan21 Posted June 27, 2012 Share Posted June 27, 2012 It's the library which SimpleXML uses to execute on XML documents. You can check if it's enabled in your phpInfo page. Quote Link to comment https://forums.phpfreaks.com/topic/262632-what-is-libxml-extention/#findComment-1357516 Share on other sites More sharing options...
Maq Posted June 27, 2012 Share Posted June 27, 2012 In your php.ini you need to add: windows: entension=libxml2.dll unix based: entension=libxml2.so And as titan said, you can check it running a script with phpinfo() in it (need to restart your web server to take effect). Quote Link to comment https://forums.phpfreaks.com/topic/262632-what-is-libxml-extention/#findComment-1357527 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.