Re: PHP4.0.2 and RH6.2 and no libphp4.so problem
| From: | Cary Collett | Date: | Tue, 03 Oct 2000 16:28:48 +0000 |
| Subject: | Re: PHP4.0.2 and RH6.2 and no libphp4.so problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-107@lists.php.net to get a copy of this message | ||
Thus spake Daniel Barron (php@beebug.co.uk):
> I need to install PHP4, so I downloaded the 4.0.2 tar.gz file and followed
> the instructions to make a dynamic apache module, but it does not edit the
> httpd.conf file or create the libphp4.so file.
>
> This is what I did, can anyone tell me where I'm going wrong?
>
> cd php4.0.2
> ./configure
If this is what you did then you didn't follow the directions.
At the least you will want the --with-shared-apache directive
to make a shared module not using apxs.
Configure just by itself will make a standalone PHP binary that
you can use for CGI and command line scripts.
In the stock RH 6.2 apache install, I think apxs lives in /usr/sbin.
So, then you could do --with-apxs=/usr/sbin/apxs.
>
> I could not find apxs and I don't want mysql so i just did the above.
You don't want MySQL!?!? Heresy! ;-)
>
> make install
>
> This all works as far as I can tell, but no libphp4.so file is created and
> no LoadModule php4_module libexec/libphp4.so (or similar) is added to
> httpd.conf.
You should read INSTALL in your PHP source tree. It describes the
various Apache install methods. Also, look at the output of
configure --help.
Cary