#39704 [Bgs]: Fatal error: Class 'SimpleXMLIterator' not found

From: Date: Sat, 02 Dec 2006 00:06:49 +0000
Subject: #39704 [Bgs]: Fatal error: Class 'SimpleXMLIterator' not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-105774@lists.php.net to get a copy of this message
ID: 39704 User updated by: m0rf at mail dot cz Reported By: m0rf at mail dot cz Status: Bogus Bug Type: SPL related Operating System: FreeBSD 6.1 PHP Version: 5.2.0 New Comment: The SimpleXML extension is enabled by default. To disable it, use the --disable-simplexml configure option. Previous Comments: ------------------------------------------------------------------------ [2006-12-02 00:04:11] m0rf at mail dot cz i'll try it ------------------------------------------------------------------------ [2006-12-02 00:03:26] tony2001@php.net Well, that won't work. You need to enable both SPL and SimpleXML in the same time to be able to use SimpleXMLIterator, since this class is declared in SPL. And if there was now SimpleXML enabled at the time of SPL build, this class will not appear later without recompiling. ------------------------------------------------------------------------ [2006-12-01 23:57:56] m0rf at mail dot cz right ------------------------------------------------------------------------ [2006-12-01 23:57:02] tony2001@php.net So you have compiled PHP without SimpleXml and then plugged it in as a shared extension, right? ------------------------------------------------------------------------ [2006-12-01 23:49:13] m0rf at mail dot cz SimpleXMLElement exists ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/39704 -- Edit this bug report at http://bugs.php.net/?id=39704&edit=1

« previous php.bugs (#105774) next »