RE: [PHP] Re: libphp4.so
| From: | Peter | Date: | Mon, 29 Jul 2002 23:41:59 +0000 |
| Subject: | RE: [PHP] Re: libphp4.so | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-110269@lists.php.net to get a copy of this message | ||
> >howdy,
> >
> >i've got it all configured correctly .. well it doesn't spit any
> errors out
> >on make
> >but when i got to view a web page it opens a down load box ..so
> i added this
> >
> >LoadModule php4_module libexec/libphp4.so
> >
> >to httpd.conf as per the manual and restarted apache but it didn't start
> >saying it couldn't find libphp.so which leads me to my question
> .. that file
> >is created automatically correct?
> >
> >i havent been able to find that file on my machine any where.. so i can't
> >point it to another location ... any one got any ideas what i
> should do as i
> >have not seen any info any where that will direct me in this situation...
>
> Do the "make install" again and pay attention to what scrolls by and see
> where it puts the libphp4.so file.
>
> Then, make sure that's where Apache expects it.
>
> the LoadModule directive acts in conjunction with the one above all the
> LoadModules that tells Apache where to start looking for Modules in the
> first place.
>
> Some folks set that in httpd.conf to include the "libexec" part, so then
> your libexec in the LoadModule line is ending up "doubling" the libexec in
> the path and that ain't gonna work.
>
> If there are any *working* LoadModule lines, you can try digging around to
> find them on your hard drive, and make sure libphp4.so is sitting next to
> them, and then do the LoadModule the same way as the working ones.
>
> http://apache.org will explain all the stuff I just said in
> formal language.
> :-)
Ok i followed what you have suggested and Apache didn't spit out anything on
libphp4.so so I am lead to beleave it wasn't created..
my apache config like was
#./configure --enable-module=most --enable-shared=max --activate-module=src/
modules/php4/libphp4.a
cheers
Peter