ID: 34346 Updated by: [EMAIL PROTECTED] Reported By: emiel at emielmols dot info -Status: Open +Status: Bogus Bug Type: Apache2 related Operating System: Linux 2.6 PHP Version: 5.1.0RC1 New Comment:
They're exported just fine. Rebogusing. Previous Comments: ------------------------------------------------------------------------ [2005-09-02 18:47:59] emiel at emielmols dot info Furthermore, if you check the symbol defenition (in Zend/zend_vm.h), you'll see that this specific symbol should be exported in both php 5.0 and 5.1. Perhaps someone can enlighten me on de differences in the exporting of symbols between SAPI/CLI version and/or PHP5.0/PHP5.1, so I can do some debugging myself too. ------------------------------------------------------------------------ [2005-09-02 18:42:44] emiel at emielmols dot info Not true, i've reinstalled the build- and headerfiles. It does work with CLI build of the same version. ------------------------------------------------------------------------ [2005-09-02 17:57:57] [EMAIL PROTECTED] It just means that your installed php extension build environment is out-dated and not compatible with 5.1.. ------------------------------------------------------------------------ [2005-09-02 16:54:58] emiel at emielmols dot info 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 this bug report at http://bugs.php.net/?id=34346&edit=1