From:             emiel at emielmols dot info
Operating system: Linux 2.6
PHP version:      5.1.0RC1
PHP Bug Type:     Apache2 related
Bug description:  Missing symbols when using SAPI

Description:
------------
When using php extensions with php in sapi mode, the extensions fail to
load because of 'missing symbols'. While PHP5.0 works perfectly fine,
about 10 different 5.1 versions i've tried don't. I've only tested this
with the runkit extension, but I'm quite certain it's a php bug. The CLI
version of php5.1 doesn't give any error either.

Steps used to compile the extension:
http://public.emielmols.info/runkit.log
Debug log: http://public.emielmols.info/runkit_c.log

PHPInfo: http://public.emielmols.info/phpinfo.php

Using apache2.

Reproduce code:
---------------
<?php
    dl("runkit.so");
?>
(using extension loading in php.ini makes no difference)

Expected result:
----------------
Loading of the module

Actual result:
--------------
Error message (when loading from ini):
PHP Warning:  PHP Startup: Unable to load dynamic library
'/projects/emielmols.info/cms/misc/runkit.so' -
/projects/emielmols.info/cms/misc/runkit.so: undefined symbol:
_zval_ptr_dtor in Unknown on line 0


-- 
Edit bug report at http://bugs.php.net/?id=34346&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34346&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34346&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34346&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34346&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34346&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34346&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34346&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34346&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34346&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34346&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34346&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34346&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34346&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34346&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34346&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34346&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34346&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34346&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34346&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34346&r=mysqlcfg

Reply via email to