#40733 [Com]: Undefined symbol: spl_ce_RuntimeException

From: Date: Tue, 20 Mar 2007 11:43:38 +0000
Subject: #40733 [Com]: Undefined symbol: spl_ce_RuntimeException
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-110554@lists.php.net to get a copy of this message
ID: 40733 Comment by: darren dot pilgrim at gmail dot com Reported By: alan dot mcfarlane at gmail dot com Status: Assigned Bug Type: MySQLi related Operating System: FreeBSD 6.0 PHP Version: 5.2.1 Assigned To: helly New Comment: There appears to be some sensitivity to the order of modules in extensions.ini. If extensions.ini is sorted, spl.so comes after mysqli.so and the error occurs. If spl.so is moved to preceed mysqli.so, the error does not occur. Previous Comments: ------------------------------------------------------------------------ [2007-03-06 12:41:03] tony2001@php.net Marcus, optional extension dependency is missing. Though I honestly do not understand why on earth MySQLi uses SPL exception class. IMO this is counter-intuitive and makes users to guess what is the parent class of mysqli exception - whether it's Exception or RuntimeException? ------------------------------------------------------------------------ [2007-03-06 07:40:16] alan dot mcfarlane at gmail dot com Configure: ---------- './configure' '--enable-versioning' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-a ll' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--program-prefix=' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php' '--with-zend-vm=CALL' '--prefix=/usr/local' Both PHP and all the extensions were built using the standard FreeBSD ports structure. Note the problem does NOT manifest itself on any of my 64-bit boxes. ------------------------------------------------------------------------ [2007-03-05 21:23:46] helly@php.net We need your configure line and whether you compile the extension shared or not. ------------------------------------------------------------------------ [2007-03-05 21:23:03] helly@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2007-03-05 20:01:47] bjori@php.net Please report this to the PHP ports maintainers. Not a PHP problem => bogus ------------------------------------------------------------------------ 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/40733 -- Edit this bug report at http://bugs.php.net/?id=40733&edit=1

« previous php.bugs (#110554) next »