php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18596 Use of dead macro MODULE_MAGIC_AT_LEAST
Submitted: 2002-07-26 11:35 UTC Modified: 2002-07-26 11:36 UTC
From: smkelly at creighton dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.2 OS: HP-UX 11i
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: smkelly at creighton dot edu
New email:
PHP Version: OS:

 

 [2002-07-26 11:35 UTC] smkelly at creighton dot edu
While attempting to build PHP 4.2.2 with Apache 2 support, I ran across this problem on HP-UX 11i. You are using a macro that Apache deems as dead, thus causing a nasty compiler error.
In sapi/apache2filter/php_functions.c:93, you have:
#if !MODULE_MAGIC_AT_LEAST(20020506,0)
but this should be changed to:
#if !AP_MODULE_MAGIC_AT_LEAST(20020506,0)

You can see this by looking at Apache 2.0.39:
# find . -name "*.h"| xargs grep MODULE_MAGIC_AT_LEAST
./include/ap_mmn.h:#define MODULE_MAGIC_AT_LEAST old_broken_macro_we_hope_you_are_not_using

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-26 11:36 UTC] derick@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 07:01:29 2024 UTC