php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66557 modules/libphp5.so: symbol unixd_config: referenced symbol not found
Submitted: 2014-01-23 00:24 UTC Modified: -
Votes:12
Avg. Score:3.8 ± 0.8
Reproduced:11 of 12 (91.7%)
Same Version:5 (45.5%)
Same OS:2 (18.2%)
From: iand at ekit-inc dot com Assigned:
Status: Open Package: Reproducible crash
PHP Version: 5.5.8 OS: Solaris 9
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-01-23 00:24 UTC] iand at ekit-inc dot com
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.





Patches

php5.5.8_patch.txt (last revision 2014-01-23 00:26 UTC by iand at ekit-inc dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-12 22:58 UTC] zaqdev84 at gmail dot com
Any chances of this bug being fixed in any future releases?
 [2016-08-15 07:23 UTC] nikolai dot denissov at gmail dot com
I wonder if it would be possible to get compiled libphp5 | 7 compatible with Apache 2.4.x somehow?
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun May 26 10:01:26 2019 UTC