Re: configure problems with Apache 2
| From: | F.Lanza | Date: | Tue, 09 Apr 2002 11:40:21 +0000 |
| Subject: | Re: configure problems with Apache 2 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6592@lists.php.net to get a copy of this message | ||
?ln???????? wrote:
> Hi!
> I didn't find answers on this quiestion in archive.
> I want to configure php-4.1.2 with apache-2.0.35.
> ./configure --with-mysql --with-apache=../httpd-2.0.35 --enable-ftp
> and it crushes.
> configure: error: Invalid Apache directory - unable to find httpd.h under
> /usr/backup/httpd-2.0.35
>
> But it 's there.
>
> What is wrong?
>
> Thanks.
apache2 isn't apache 1.3.X,
you must compile a DSO module with --with-apxs2=/path/to/apxs in configure
options,
AFTER to install apache, and you must have apache with DSO enabled.
Note that php4.1.2 have a huge problem with sapi, and compiling with the
new apache 2.0.35 it not possible, i think it will be possible with php
4.2.0 when it will be released.
Regards
Franco