|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-04 11:36 UTC] stas@php.net
[2000-08-15 07:33 UTC] stas@php.net
[2000-08-15 12:42 UTC] sas@php.net
[2000-08-30 05:08 UTC] stas@php.net
[2000-11-01 02:09 UTC] andi@php.net
[2000-11-21 06:12 UTC] sniper@php.net
[2000-12-07 19:42 UTC] sniper@php.net
[2001-05-06 11:08 UTC] derick@php.net
[2001-06-01 15:28 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 07:00:01 2025 UTC |
In Zend engine uses a inline modificator for functions which uses globaly, not only in module, where it was define. Compiller say - no errors, becouse thats functions defined in *.h file as global, but implementation this function defined as inline - and after compiling to *.o object file cc compiler remove this function from global lists (marked as LOCAL) And in result engine didn't started when try to run httpd with dinamicly linked libphp4.so: #dbx /usr/local/apache/bin/httpd >run -X -f/usr/local/apache/conf/httpd.conf all OK but when we make request to *.php file from browser dbx say: Error: unable to resolve _array_init function... and httpd process down to core #nm libphp4.so show that this function have status UNDEF Solve this bug with this script: #!/bin/sh cd php-4.0.1pl2/Zend for i in `grep -l "ZEND_API inline" *.c` ; do mv $i $i.old sed -e 's/ZEND_API inline/ZEND_API/g' $i.old >$i done #end of script After recompile - all OK