|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17954 Compile fails on module boundry issue
Submitted: 2002-06-24 15:44 UTC Modified: 2002-06-24 15:45 UTC
From: jnaughto at jnaughton dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: Linux Kernel 2.4.18
Private report: No CVE-ID: None
 [2002-06-24 15:44 UTC] jnaughto at jnaughton dot com
Actually a fix as much as a bug.  I compiled apache 2.0.36 and php 4.2.1 with no difficulties.  Yet when I migrated from 2.0.36 to 2.0.39 it php no longer compiled cleanly.  It failed on the following file:


I had to comment out the following block:

#if !MODULE_MAGIC_AT_LEAST(20020506,0)

After this block was commented out it compiled as normal.  Please indicate what does this block do?

I compiled php with the following options:

./configure --with-apxs2=/usr/local/apache/bin/apxs \
        --with-config-file-path=/usr/local/apache/conf \
        --enable-debug=no \
        --enable-yp \
        --with-java=/usr/local/java \
        --with-mcrypt=/usr/local/bin \

and apache with the following options:

./configure --prefix=/usr/local/apache --enable-shared=max --enable-access --enable-auth --disable-auth-anon --enable-include --enable-mime-magic --enable-cern-meta --enable-expires --enable-headers --enable-usertrack --enable-unique-id   --enable-ssl  --enable-info  --with-ssl=/usr/local/ssl 
--enable-modules="rewrite speling ssl" 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-24 15:45 UTC]
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at In case this was a documentation 
problem, the fix will show up soon at
In case this was a website problem, the change will show
up on the site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Jan 22 21:03:35 2022 UTC