|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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_modulemodules/libphp5.so But this directory or file don't exist in the /etc/apache2 directory. Not sure how to fix this. I'm a newbie when it comes to the LAMP server apps. Any would be appreciated. Thanks, Randy |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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_modulemodules/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 on this. Check the bug reports for the relevant packages and probably manually fix-up that path in the meantime. A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG4uVuaIeIEqwil4YRAmufAJ9vLb+OvJvspl4TeBI9KD gwaoDOzwCgmK/N zRMnLSTC13Ew1yFAC/k860I= =7h8q -----END PGP SIGNATURE----- |
|
![]() |
| Outils de la discussion | |
|
|