XML enabled but not working

From: Date: Thu, 15 Sep 2011 20:20:40 +0000
Subject: XML enabled but not working
Groups: php.general 
Request: Send a blank email to php-general+get-314875@lists.php.net to get a copy of this message
I seems to behaving issues with php5 on one particular server, and I haven't been able to find the issue. Basically, php says XML is enabled, but xml functions are missing. > php -i | grep "XML support" libXML support => active > echo "<? print xml_parser_create(''); ?>" | php Fatal error: Call to undefined function xml_parser_create() in - on line 1 The machine in question is FreeBSD 8.2-RELEASE running the most recent ports of php5 and expat. > php -v PHP 5.3.8 with Suhosin-Patch (cli) (built: Sep 15 2011 13:58:49) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies > sudo portversion -v expat expat-2.0.1_2 = up-to-date with port What's baffling is that this is a basically identical configuration to another server where php is behaving just fine. I haven't been able to find the variation yet. Anyone have any thoughts on what to look at?

« previous php.general (#314875) next »