Re: PHP4.0.2 and RH6.2 and no libphp4.so problem

From: Date: Mon, 09 Oct 2000 15:51:10 +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-213@lists.php.net to get a copy of this message
I worked out where I went wrong. Here are the corrections: In message <32a4c3074a.php@beebug.co.uk> you wrote: > 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? rpm -i apache*develop*.rpm > cd php4.0.2 > ./configure should be ./configure --with-apxs > > I could not find apxs and I don't want mysql so i just did the above. gets installed by the rpm above > > 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. > It is added now, but it gets the path wrong. The line in httpd.conf should read: LoadModule php4_module modules/libphp4.so > I've been messing with this all day. I've tried everything I can think of > and read all faqs etc I can find, but nothing helps. > Also don't forget the: AddType application/x-httpd-php .php But before restarting httpd, you need to rem out the 2 php3 lines as well, or it'll just crash. Simple. BTW my real email address is daniel at, not php at, incase anyone wants to contact me. Not that they would. As it seems to work now and I've finished the install, I'll be unsubbing. Thanks for all the help. --

« previous php.install (#213) next »