#40733 [Com]: Undefined symbol: spl_ce_RuntimeException
| From: | jojo at matfyz dot cz | Date: | Mon, 26 Nov 2007 23:10:23 +0000 |
| Subject: | #40733 [Com]: Undefined symbol: spl_ce_RuntimeException | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-120110@lists.php.net to get a copy of this message | ||
ID: 40733
Comment by: jojo at matfyz dot cz
Reported By: alan dot mcfarlane at gmail dot com
Status: No Feedback
Bug Type: MySQLi related
Operating System: *
PHP Version: 5.2.1
Assigned To: helly
New Comment:
I had the same problem on FreeBSD 6.2-p5, PHP 5.2.5. I have tried
daren's trick with reordering the list of extensions in extensions.ini -
I put the mysqli.so the last. It helped.
Previous Comments:
------------------------------------------------------------------------
[2007-03-28 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2007-03-20 20:01:16] helly@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2007-03-20 11:43:38] darren dot pilgrim at gmail dot com
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.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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