NYCPHP Meetup

NYPHP.org

[nycphp-talk] Building php 5.x.x wierdness

Nunez, Eddy enunez at tiaa-cref.org
Fri Sep 1 16:44:12 EDT 2006


I don't understand why this happens ...

Fatal error: Call to undefined function phpinfo() in
/home/php/php-5.1.6/sapi/cli/test.php on line 4

 

System type: SuSE linux 7.0

All versions of 4 compile fine so does 5.0.5 comes out fine...but...

All versions higher produce a library/binary with missing functions,
functions like phpinfo, print_r, date, even var_dump

 

I used the "nm" tool to see if the symbol(s) are present.

For phpinfo, it finds ...

08392de0 B phpinfo_logo_hash

081ab9f0 T register_phpinfo_constants

081abb70 T zif_phpinfo

Which is the same data dumped from a "healthy" version of PHP binary.

 

Have a great weekend!

-Ed



**************************************************************
This message, including any attachments, contains 'confidential' information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies.  You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060901/2a41947f/attachment.html>


More information about the talk mailing list