Re: apache 2.0.39 + php 4.2.1 - solution to php_function problem
| From: | Rasmus Lerdorf | Date: | Sun, 23 Jun 2002 14:38:50 +0000 |
| Subject: | Re: apache 2.0.39 + php 4.2.1 - solution to php_function problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7446@lists.php.net to get a copy of this message | ||
It has been fixed for weeks.
On Sun, 23 Jun 2002, jd wrote:
> 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
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>