#34346 [Opn-Bgs]: Missing symbols when using SAPI

2005-09-04 Thread sniper
 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:

The problem isn't in PHP core / Zend.


Previous Comments:


[2005-09-03 13:00:42] emiel at emielmols dot info

I don't believe this. I've been stuck with this bug for about 2 weeks
now and put in a LOT of hours trying to fix it myself. Finally, I
decide to submit the bug here so someone experienced with the zend
engine can perhaps have a look at it. And now you're just telling me my
problem doesn't exist (or that I'm just stupid and the problem is not in
the php core/zend engine)? Come on, something definately has changed
from 5.0 sapi  5.1 sapi, for it did work flawlessly with 5.0 and for
now appearant reason it does not with 5.1. With the CLI it works for
both of them. Now you tell me, how can this NOT be a php problem?



[2005-09-02 22:20:46] [EMAIL PROTECTED]

They're exported just fine. Rebogusing.




[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..




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/34346

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


#34346 [Opn-Bgs]: Missing symbols when using SAPI

2005-09-02 Thread sniper
 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:

It just means that your installed php extension build environment is
out-dated and not compatible with 5.1..



Previous Comments:


[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=34346edit=1


#34346 [Opn-Bgs]: Missing symbols when using SAPI

2005-09-02 Thread sniper
 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=34346edit=1