php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41203 Apache 1.3.37 apxs fails with libphp4.so is garbled
Submitted: 2007-04-26 14:05 UTC Modified: 2007-04-26 14:13 UTC
From: jmurtari at thebook dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.4.6 OS: RHEL 4 / Linux 2.6.9
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: jmurtari at thebook dot com
New email:
PHP Version: OS:

 

 [2007-04-26 14:05 UTC] jmurtari at thebook dot com
Description:
------------
Folks,

Was able to do good source build of Apache 1.3.37 and 
PHP 4.4.6; however, when starting Apache get:

"API module structure `php4_module' in file /usr/local/etc/httpd/libexec/libphp4.so is garbled - perhaps this is not an Apache module DSO?"

We are running RHEL 4 Linux and have pretty standard procedures
we do to build.  Last time it worked was Apache 1.3.34 and
PHP 4.4.1

Saw some similiar bugs, we did make clean, make distclean for
both - no difference.

Reproduce code:
---------------
Excerpts from our configure options for both PHP and APACHE.

For apache:

./configure --with-layout=Apache --prefix=/usr/local/etc/httpd  
  --enable-suexec  
... some deleted...
  --disable-module=asis --enable-shared=max  
  --enable-rule=SHARED_CORE --enable-module=so

For php:

CPPFLAGS="-DLINUX=22 -DEAPI" \
./configure  \
--enable-static \
--disable-shared \
--with-config-file-path=/usr/local/etc/httpd/conf \
--with-apxs=/usr/local/etc/httpd/bin/apxs \
... some deleted.
--enable-mbstring=all \
--with-mhash=/export/tools/apache/php/ext/mhash

Expected result:
----------------
We suspect a problem with apxs, but RedHat does not supply 
a version for Apache 1.3.x, they have a httpd-devel package which
has it for Apache 2.x

Our RHEL servers do NOT have any of the RedHat Apache or PHP packages
installed.  We always 'try' to build from source.

If someone needs access to a RHEL 4 server to duplicate we can supply.

Actual result:
--------------
Would like apache to start!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-26 14:13 UTC] tony2001@php.net
>We suspect a problem with apxs
Then report it to Apache people, please.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 18:01:28 2024 UTC