[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LAMP Server setup help



On Sat, Sep 08, 2007 at 10:16:49AM -0500, Randy Patterson wrote:
> Hey,
> 
> I have setup a test system on my home network in the past to develop & test 
> PHP apps by installing an ISAPI PHP dll in IIS. It worked great but now I 
> trying to setup a LAMP server on Debian/Lenny. I ran the following command;
> 
> aptitude install apache2 php5 libapache2-mod-php5
> 
> But got the following error message;
> 
> Setting up apache2-mpm-prefork (2.2.4-3) ...
> Starting web server: apache2apache2: Syntax error on line 187 
> of /etc/apache2/apache2.conf: Syntax error on line 3 
> of /etc/apache2/httpd.conf: Cannot load /etc/apache2/modules/libphp5.so into 
> server: /etc/apache2/modules/libphp5.so: cannot open shared object file: No 
> such file or directory
>  failed!
> invoke-rc.d: initscript apache2, action "start" failed.
> 
> The error is pointing to this line in the httpd.conf;
> 
> LoadModule php5_module  modules/libphp5.so
> 
> But this directory or file don't exist in the /etc/apache2 directory.

hmmm... on my system, libphp4.so is in /usr/lib/apache2/modules/ so it
looks like something's got a bad path there, but that is the limit of
my help on this. Check the bug reports for the relevant packages and
probably manually fix-up that path  in the meantime.

A

Attachment: signature.asc
Description: Digital signature


Reply to: