Re: PHP4.0.2 and RH6.2 and no libphp4.so problem
| From: | edward at ita dot org dot mo | Date: | Wed, 07 Nov 2001 13:45:27 +0000 |
| Subject: | Re: PHP4.0.2 and RH6.2 and no libphp4.so problem | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4871@lists.php.net to get a copy of this message | ||
Daniel Barron wrote:
> 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.
>
> --
Hello,
Can you show me your installation steps :
Because my apache 1.3.20 can't be start ( /usr/local/apache/bin/apachectl start
) after install apache + mysql ( 3.23.41 ) + php ( 4.0.6 )...
So, I hope you can help me !
Thanks,
Edward.