php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17828 Parse error in line 93 of php_functions.c
Submitted: 2002-06-19 00:39 UTC Modified: 2002-06-19 02:26 UTC
From: jcampbel at lynn dot ci-n dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: Linux 2.4.18
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: jcampbel at lynn dot ci-n dot com
New email:
PHP Version: OS:

 

 [2002-06-19 00:39 UTC] jcampbel at lynn dot ci-n dot com
PHP build with the below configuration options, built for Apache 2.0.39, fails with a parse error on line 93 of sapi/apache2filter/php_functions.c, which reads:
#if !MODULE_MAGIC_AT_LEAST(20020506,0)

MODULE_MAGIC_AT_LEAST is #defined in the Apache headers as "old_broken_macro_we_hope_you_are_not_using". It looks to me like that line should be changed to:
#if !AP_MODULE_MAGIC_AT_LEAST(20020506,0)

Doing so allows it to compile, and apparently work.

'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-mailparse' '--enable-mbstring' '--enable-mbregex' '--enable-sockets' '--with-openssl' '--with-zlib' '--with-bz2' '--with-db' '--with-db2' '--with-db3' '--with-mysql' '--with-pgsql'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-19 02:26 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.

This is already fixed in CVS, try snaps.php.net/php-latest.tar.bz2

Derick
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Jan 28 07:03:38 2022 UTC