Bug #66557 [NEW]: modules/libphp5.so: symbol unixd_config: referenced symbol not found

From: Date: Thu, 23 Jan 2014 00:24:52 +0000
Subject: Bug #66557 [NEW]: modules/libphp5.so: symbol unixd_config: referenced symbol not found
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183962@lists.php.net to get a copy of this message
From: iand at ekit-inc dot com Operating system: Solaris 9 PHP version: 5.5.8 Package: Reproducible crash Bug Type: Bug Bug description:modules/libphp5.so: symbol unixd_config: referenced symbol not found Description: ------------ Compiled Apache 2.4.6 with php 5.5.8; builds ok but at run time, php load fails with this: httpd: Syntax error on line 56 of /opt/local/apache/conf/httpd.conf: Cannot load modules/libphp5.so into server: ld.so.1: /opt/local/apache/bin/httpd: fatal: relocation error: file /opt/local/apache/modules/libphp5.so: symbol unixd_config: referenced symbol not found This is because sapi/apache2handler/php_functions.c tests for the new name for unixd_config (ap_unixd_config) using a check on MODULE_MAGIC_NUMBER_MAJOR but it doesn't include the header file that includes that definition. Fix is trivial: include ap_mmn.h Seems lots of people have reported this on various OS's but a search of the bug repo for unixd_config doesn't show anything. -- Edit bug report at https://bugs.php.net/bug.php?id=66557&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66557&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66557&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66557&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=66557&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=66557&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=66557&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=66557&r=needscript Try newer version: https://bugs.php.net/fix.php?id=66557&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=66557&r=support Expected behavior: https://bugs.php.net/fix.php?id=66557&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=66557&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=66557&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=66557&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66557&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=66557&r=dst IIS Stability: https://bugs.php.net/fix.php?id=66557&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=66557&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=66557&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=66557&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=66557&r=mysqlcfg

« previous php.bugs (#183962) next »