XML enabled but not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux