ID:               40733
 Updated by:       [EMAIL PROTECTED]
 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:

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?


Previous Comments:
------------------------------------------------------------------------

[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] [EMAIL PROTECTED]

We need your configure line and whether you compile the extension
shared or not.

------------------------------------------------------------------------

[2007-03-05 21:23:03] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Please report this to the PHP ports maintainers.
Not a PHP problem => bogus

------------------------------------------------------------------------

[2007-03-05 19:51:50] alan dot mcfarlane at gmail dot com

Description:
------------
There appears to be a problem with one of the extensions - possibly un
undefined symbol:

The following extensions are active (in order):

session mysqli zip pdf json hash gmp filter fileinfo curl posix sockets
openssl ldap simplexml bz2 snmp gettext iconv dom tokenizer xmlreader
readline imap xml exif mhash mcrypt mysql mbstring xmlwriter zlib pcre
spl sqlite ctype ftp gd xsl

Reproduce code:
---------------
echo phpversion();

Expected result:
----------------
5.2.1

Actual result:
--------------
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20060613/mysqli.so' -
/usr/local/lib/php/20060613/mysqli.so: Undefined symbol
"spl_ce_RuntimeException" in Unknown on line 0
5.2.1



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40733&edit=1

Reply via email to