apache 2.0.39 + php 4.2.1 - solution to php_function problem

From: Date: Sun, 23 Jun 2002 14:40:10 +0000
Subject: apache 2.0.39 + php 4.2.1 - solution to php_function problem
Groups: php.install 
Request: Send a blank email to php-install+get-7445@lists.php.net to get a copy of this message
at line 93, sapi/apache2filter/php_functions.c: #if !MODULE_MAGIC_AT_LEAST(20020506,0) ADD_STRING(boundary); #endif compilation failed at this point for me with apache 2.0.39, and apparently alot of other people are having the same troubles. gcc complains about a misplaced "!" because it doesn't understand the macro. Apparently it is not in the apache headers any longer. According to the Apache 1.3 API documentation, the MODULE_MAGIC_AT_LEAST macro has been defined as obsolete since 1.3. AP_MODULE_MAGIC_AT_LEAST is the recommended replacement, and changing the offending line to reflect this allows gcc to finish compiling without any problems. Just thought I should mention this here so that it can be corrected; this obsolete macro is still present in the latest snapshot and prevents successful compilation with apache 2.0.39 and possibly earlier. I'd appreciate it if someone could forward this on to someone who can make the fix if this isn't the right place. -jd

« previous php.install (#7445) next »