PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > LAMP Server setup
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

LAMP Server setup

Réponse
 
LinkBack Outils de la discussion
Vieux 08/09/2007, 16h20   #1
Randy Patterson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut LAMP Server setup

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
  Réponse avec citation
Vieux 08/09/2007, 19h20   #2
Andrew Sackville-West
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: LAMP Server setup

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-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 08h48.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12221 seconds with 10 queries