Call to undefined function simplexml_load_file()
Posted: Thu May 05, 2011 10:53 am
hi,
I'm trying to use simplexml to read an xml file and display the contents in a php web page.
My code however gives the error message in the subject.
I've scoured google and the answer you always seem to get is that it is loaded by default in PHP 5 and above.
i am running 5.2.8 but still get this error.
I can only assume that php-xml (? or something similar) has not been built properly in PHP.
PHP and Apache are running on a FreeBSD box.
i also have little to no experience in working on FreeBSD therefore any answers need to be in idiots guide format...
Help please!
I'm trying to use simplexml to read an xml file and display the contents in a php web page.
My code however gives the error message in the subject.
I've scoured google and the answer you always seem to get is that it is loaded by default in PHP 5 and above.
i am running 5.2.8 but still get this error.
I can only assume that php-xml (? or something similar) has not been built properly in PHP.
PHP and Apache are running on a FreeBSD box.
i also have little to no experience in working on FreeBSD therefore any answers need to be in idiots guide format...
Help please!