Pierre Labastie wrote:
> Hi,
>
> During my slow progress towards introducing SWIG into the book, I decided to
> build all the languages that SWIG could work with. Among those is PHP. I
> proceeded as in the book, but when rebooting, I got:
>       Starting Apache HTTP daemon...httpd: Syntax error on line 171 of
> /etc/httpd/httpd.conf: Cannot load usr/lib/httpd/modules/libphp5.so into
> server: /etc/httpd/usr/lib/httpd/modules/libphp5.so: cannot open shared object
> file: No such file or directory
>
> Of course /usr/lib/httpd/modules/libphp5.so exist but with a leading /
>
> So it looks like php `make install' does not insert the right instruction in
> /etc/httpd/httpd.conf.
>
> Adding the leading / at line 171 allows the server to start.

I think I have seen it too.  Do you mean it's setting:

LoadModule php5_module  usr/lib/httpd/modules/libphp5.so

I don't recall when I ran into the problem but it probably is in the php 
install code.  I also seem to recall it adding a 2nd line when the first 
already exists.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to