Re: Re: Building sapi_apache2
| From: | Rasmus Lerdorf | Date: | Tue, 05 Jul 2005 14:07:09 +0000 |
| Subject: | Re: Re: Building sapi_apache2 | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218126@lists.php.net to get a copy of this message | ||
Gaby vanhegan wrote:
> Is there a specific compile switch that I need to build Apache with in
> order to allow php5 to see and use the sapi_apache2 module? I could see
> nothing specific in a "./configure --help" for either Apache or php. I
> have the rpm .spec file, so I could theoretically do a nice clean
> rebuild if I needed to.
First, have you read the documentation?
http://www.php.net/manual/en/install.unix.apache2.php
And no, there is nothing you need to do to your Apache2. Simply build
PHP using --with-apxs2 and then in your Apache config file, LoadModule
the resulting libphp5.so shared library as per the instructions.
-Rasmus