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: 2021-06-13 04:22 UTC
Votes:13
Avg. Score:3.8 ± 0.8
Reproduced:12 of 13 (92.3%)
Same Version:5 (41.7%)
Same OS:2 (16.7%)
From: iand at ekit-inc dot com Assigned: cmb (profile)
Status: No Feedback Package: Reproducible crash
PHP Version: 5.5.8 OS: Solaris 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: iand at ekit-inc dot com
New email:
PHP Version: OS:

 

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

Pull Requests

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?
 [2021-05-31 12:53 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-05-31 12:53 UTC] cmb@php.net
If this issue is still unresolved, could someone please provide a
pull request[1] for better visibility?

[1] <https://github.com/php/php-src/pulls>
 [2021-06-13 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Nov 25 12:01:31 2024 UTC