Re: Serveur LAMP qui ne fonctionne plus
Le Sat, 13 May 2017 19:58:26 +0200,
AF a écrit :
Bonsoir et merci de l'aise,
> On Saturday 13 May 2017 09:06:38 Georges wrote:
> > J'avais en local un serveur LAMP qui marchait très bien pour
> > utiliser phpmyadmin et une généalogie Webtrees 1.7.8 et suite à une
> > mise à jour vers 1.7.9 localhost/phpmyadmin et localhost/webtrees
> > m'affichent une belle page "texte" en Anglais.
> > J'ai tout "purgé" réinstallé et toujours pareil.
> > Et en plus, j'ai une Jessie, une Stretch, une Sid sur ce disque dur
> > et les trois me jouent la même farce.
> > J'ai du faire une bourde, mais laquelle ?
> > Merci si on peu m'aider
>
> Qu'indique la page web d'index de ton site ? : http://localhost
> le texte affiché à cette page ? (It Works !)
It Works
>
> As tu bien configuré les fichiers du répertoire "sites-enabled" ?
> (dont le bon répertoire des pages web...).
Je n'ai rien modifié dans :
@000-default.conf
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname
and port that
# the server uses to identify itself. This is used when
creating
# redirection URLs. In the context of virtual hosts, the
ServerName
# specifies what hostname must appear in the request's Host:
header to
# match this virtual host. For the default virtual host (this
file) this # value is not decisive as it is used as a last resort host
regardless.
# However, you must set it for any further virtual host
explicitly.
#ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
# Available loglevels: trace8, ..., trace1, debug, info,
notice, warn, # error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For
example the # following line enables the CGI configuration for
this host only # after it has been globally disabled with
"a2disconf". #Include conf-available/serve-cgi-bin.conf
</VirtualHost>
>
> ainsi que mis les modules nécessaires dans "mods-enabled" ?
Rien modifié là aussi
>
> Qu'indiquent les fichiers de /var/log/apache2/ ?
error.log =
[Sat May 13 08:21:23.355760 2017] [mpm_event:notice] [pid 1132:tid
3074332480] AH00489: Apache/2.4.10 (Debian) configured -- resuming
normal operations [Sat May 13 08:21:24.133652 2017] [core:notice] [pid
1132:tid 3074332480] AH00094: Command line: '/usr/sbin/apache2' [Sat
May 13 09:07:01.896309 2017] [mpm_event:notice] [pid 1132:tid
3074332480] AH00491: caught SIGTERM, shutting down [Sat May 13
18:24:08.260037 2017] [mpm_event:notice] [pid 1204:tid 3074131776]
AH00489: Apache/2.4.10 (Debian) configured -- resuming normal
operations [Sat May 13 18:24:08.595369 2017] [core:notice] [pid
1204:tid 3074131776] AH00094: Command line: '/usr/sbin/apache2'
>
> Lors de la réinstallation, as tu choisi de garder les
> fichiers de conf ou d'installer les nouveaux ?
Avec synaptic "suppression complète "
>
> Il n'aurait pas fallu faire la ré-installation en mode "purge".
>
> As tu vérifié que tu as la bonne version php qui correspond à ton
> site ?
j'ai créé le fichier /var/www/html/phpinfo.php comme demandé par
Thierry Burgier et localhost/phpinfo.php me renvoi une page blanche
>
> Il y a beaucoup de paramètres à vérifier et modifier sans doute... :-)
Ben, je vais continuer à fouiller ce dimanche mais bon wekend a
vous ;-)
>
> André
>
>
Reply to: