RE: [PHP] PHP 4 on Apache 1.3
| From: | Edward Kay | Date: | Tue, 12 Dec 2006 11:47:53 +0000 |
| Subject: | RE: [PHP] PHP 4 on Apache 1.3 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245737@lists.php.net to get a copy of this message | ||
A couple of suggestions:
* The options should start with a double minus, i.e. --with-mysql
not -with-mysql
* Are the permissions OK for axps and it's directory?
Edward
> Hello,
>
>
>
> I've been trying for a couple of times now but seems to not find
> the solution as
> to why this error occurs.
>
>
>
> I have Apache 1.3.37 installed on a Fresh CentOS 4.4 machine with
> this configure
> line : ./configure -enable-module=so -enable-module=rewrite
>
>
>
> I tried building PHP 4.4.4 using ./configure -with-mysql
> -with-apxs=/usr/local/apache/bin/apxs but kept getting this error :
>
>
>
> Sorry, I cannot run apxs. Possible reasons follow:
>
>
>
> 1. Perl is not installed
>
> 2. apxs was not found. Try to pass the path using
> --with-apxs2=/path/to/apxs
>
> 3. Apache was not built using --enable-so (the apxs usage page is
> displayed)
>
>
>
> The output of apxs follows:
>
> ./configure: line 5656: apxs: command not found
>
> configure: error: Aborting
>
>
>
> --
>
> 1. I have verified that Perl is installed perl -v
>
> 2. /usr/local/apache/bin/apxs does exists
>
> 3. I have configured apache to enable the so module.
>
>
>
> Am I missing something?
>
>
>
> TIA
>
> Jervin
>
> --
> > Outsource Now | GetAFreelancer
> <http://www.getafreelancer.com/affiliates/shockx/>
>
>
>
>
>