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

From: Date: Sat, 02 Dec 2006 11:47:58 +0000
Subject: #39704 [Csd->Bgs]: Fatal error: Class 'SimpleXMLIterator' not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-105809@lists.php.net to get a copy of this message
ID: 39704 Updated by: tony2001@php.net Reported By: m0rf at mail dot cz -Status: Closed +Status: Bogus Bug Type: SPL related Operating System: FreeBSD 6.1 PHP Version: 5.2.0 Previous Comments: ------------------------------------------------------------------------ [2006-12-02 00:53:21] m0rf at mail dot cz It works as well. This is FreeBSD ports bug. I'll report it to FreeBSD port maintainers. ------------------------------------------------------------------------ [2006-12-02 00:08:36] m0rf at mail dot cz ah disable-all doing it.. ------------------------------------------------------------------------ [2006-12-02 00:06:49] m0rf at mail dot cz The SimpleXML extension is enabled by default. To disable it, use the --disable-simplexml configure option. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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 (#105809) next »