Maze Posted June 12, 2014 Share Posted June 12, 2014 how can i check if i have PHP SimpleXML on the opensuseis there a command that i can use in terminal Link to comment https://forums.phpfreaks.com/topic/289127-php-simplexml-how-to-check-the-existence/ Share on other sites More sharing options...
Ch0cu3r Posted June 12, 2014 Share Posted June 12, 2014 You can run phpinfo in a php script. If you find a SimpleXML heading then it is enabled. Link to comment https://forums.phpfreaks.com/topic/289127-php-simplexml-how-to-check-the-existence/#findComment-1482543 Share on other sites More sharing options...
requinix Posted June 12, 2014 Share Posted June 12, 2014 There's also b) Since SimpleXML is technically an extension, php -m on the command line to list all extensions, or c) extension_loaded in your code d) class_exists for the SimpleXMLElement class Link to comment https://forums.phpfreaks.com/topic/289127-php-simplexml-how-to-check-the-existence/#findComment-1482549 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.