Re: Apache 2 support broken?
| From: | Aaron Gould | Date: | Tue, 23 Jul 2002 18:57:16 +0000 |
| Subject: | Re: Apache 2 support broken? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109126@lists.php.net to get a copy of this message | ||
Here's how to get it to work (thanks to somebody on Google Groups)...
1. Open up the file php_functions.c in /sapi/apache2filter/
2. Change MODULE_MAGIC_AT_LEAST to AP_MODULE_MAGIC_AT_LEAST (Note the
addition of "AP_")
3. Save the php_functions.c file and try running configure again
--
Aaron Gould
agould@partscanada.com
Web Developer
----- Original Message -----
From: "Mitch Vincent" <mitch@unixprogramming.net>
To: "php-general" <php-general@lists.php.net>
Sent: Tuesday, July 23, 2002 1:16 PM
Subject: [PHP] Apache 2 support broken?
> With php 4.2.2 I get this when trying to compile with apache 2 support:
>
> Making all in apache2filter
> /bin/sh
/usr/local/download/apache/php-4.2.2/libtool --silent --mode=compile
> gcc -I. -I/usr/local/download/apache/php-4.2.2/sapi/apache2filter
> -I/usr/local/download/apache/php-4.2.2/main
> -I/usr/local/download/apache/php-4.2.2 -I/usr/site/include
> -I/usr/local/download/apache/php-4.2.2/Zend -I/usr/local/include
> -I/usr/local/pgsql/include
> -I/usr/local/download/apache/php-4.2.2/ext/xml/expat -D_REENTRANT
> -D_THREAD_SAFE -I/usr/local/download/apache/php-4.2.2/TSRM
> -I/usr/local/include/pth -g -O2 -pthread -DZTS -prefer-pic -c
> php_functions.c
> php_functions.c:93: syntax error
> *** Error code 1
>
> Stop in /usr/local/download/apache/php-4.2.2/sapi/apache2filter.
> *** Error code 1
>
> Stop in /usr/local/download/apache/php-4.2.2/sapi/apache2filter.
> *** Error code 1
>
> Stop in /usr/local/download/apache/php-4.2.2/sapi.
> *** Error code 1
>
>
> I grabbed a CVS version of PHP and during configure it lets me know that I
> need apache 2.0.40 -- since the latest release of Apache 2 is 2.0.39 I'm
not
> sure what to do there.. Does that mean the latest apache 2 devel source?
>
> Someone toss me a clue stick please!
>
> -Mitch
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php