#40733 [Com]: Undefined symbol: spl_ce_RuntimeException
| From: | andy at is9 dot org | Date: | Wed, 11 Mar 2009 07:50:17 +0000 |
| Subject: | #40733 [Com]: Undefined symbol: spl_ce_RuntimeException | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-134588@lists.php.net to get a copy of this message | ||
ID: 40733
Comment by: andy at is9 dot org
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'm experiencing the same problem at my server <a
href="http://www.sytru.com/">www.sytru.com</a> using
PHP 5.2.9, however
if you change the direction of modules so that spl comes BEFORE mysqli,
everything works like a charm.
Just modify your extensions.ini file:
extension=spl.so
extension=mysqli.so
Previous Comments:
------------------------------------------------------------------------
[2007-11-26 23:10:22] jojo at matfyz dot cz
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.
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
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