Bug #17828: Parse error in line 93 of php_functions.c

From: Date: Wed, 19 Jun 2002 04:39:55 +0000
Subject: Bug #17828: Parse error in line 93 of php_functions.c
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11331@lists.php.net to get a copy of this message
From: jcampbel@lynn.ci-n.com Operating system: Linux 2.4.18 PHP version: 4.2.1 PHP Bug Type: Compile Failure Bug description: Parse error in line 93 of php_functions.c 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' -- Edit bug report at http://bugs.php.net/?id=17828&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17828&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17828&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17828&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17828&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17828&r=support Expected behavior: http://bugs.php.net/fix.php?id=17828&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17828&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17828&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17828&r=globals

« previous php.bugs (#11331) next »