php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #68359 Apache 2.4 Can't locate API module structure `php5_module' in libphp5.so
Submitted: 2014-11-06 02:36 UTC Modified: 2018-09-05 15:37 UTC
Votes:11
Avg. Score:4.7 ± 0.6
Reproduced:10 of 11 (90.9%)
Same Version:7 (70.0%)
Same OS:4 (40.0%)
From: ebrahim at imami dot net Assigned: cmb (profile)
Status: Closed Package: Apache related
PHP Version: 5.6.2 OS: CentOS 6.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ebrahim at imami dot net
New email:
PHP Version: OS:

 

 [2014-11-06 02:36 UTC] ebrahim at imami dot net
Description:
------------
I have installed Apache 2.4.10 on CentOS 6.5
and also PHP 5.6.2

when I add LoadModule /usr/lib/libphp5.so in httpd.conf
and restart service , I get following error:

... /etc/httpd/conf/httpd.conf: Can't locate API module structure `php5_module' in file /usr/lib/libphp5.so: /usr/lib/libphp5.so: undefined symbol: php5_module




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-04 16:30 UTC] vz at shsa dot ru
I've installed php
php -v
PHP 5.6.9 (cli) (built: Jun  4 2015 18:53:50)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

 uname -a
FreeBSD some.domain 8.4-STABLE FreeBSD 8.4-STABLE

in the httpd.conf there is 
LoadModule php5_module        /usr/local/lib/libphp5.so

When I try to apachectl start
Performing sanity check on apache22 configuration:
httpd: Syntax error on line 107 of /usr/local/etc/apache22/httpd.conf: Can't locate API module structure `php5_module' in file /usr/local/lib/libphp5.so: Undefined symbol "php5_module"
Starting apache22.
httpd: Syntax error on line 107 of /usr/local/etc/apache22/httpd.conf: Can't locate API module structure `php5_module' in file /usr/local/lib/libphp5.so: Undefined symbol "php5_module"
/usr/local/etc/rc.d/apache22: WARNING: failed to start apache22

What to do?
 [2018-09-05 15:37 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2018-09-05 15:37 UTC] cmb@php.net
Note that this is a bug tracker, not a support forum.  If you
think some behavior is a bug, choose “Bug” as bug type.

Anyhow, since PHP 5 is out of active support, I'm closing this
ticket.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 02:02:52 2024 UTC