9
votes

Ubuntu 14.04 Server: Apache2 problème avec phpmyadmin

J'ai installé Apache 2, et ça marche bien. J'ai installé PHP 7, et tout fonctionne bien, mais lorsque j'installe PHPMYADMIN, Apache 2 arrête de fonctionner. Lorsque vous vérifiez Apache 2, il ne charge même pas la page par défaut.

Lorsque je redémarre Apache 2, l'erreur suivante s'affiche: P>

[Mon Jul 18 12:54:10.668017 2016] [mpm_event:notice] [pid 13665:tid 140077033654144] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Mon Jul 18 12:54:10.668089 2016] [core:notice] [pid 13665:tid 140077033654144] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 18 12:54:23.642421 2016] [mpm_event:notice] [pid 13665:tid 140077033654144] AH00491: caught SIGTERM, shutting down
[Mon Jul 18 12:54:24.689367 2016] [mpm_prefork:notice] [pid 14802] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Mon Jul 18 12:54:24.689425 2016] [core:notice] [pid 14802] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 18 12:54:25.869852 2016] [mpm_prefork:notice] [pid 14802] AH00169: caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xml.so' - /usr/lib/php/20151012/xml.so: cannot open shared object file: No such file o$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/dom.so' - /usr/lib/php/20151012/dom.so: cannot open shared object file: No such file o$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/simplexml.so' - /usr/lib/php/20151012/simplexml.so: cannot open shared object file: No$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/wddx.so' - /usr/lib/php/20151012/wddx.so: cannot open shared object file: No such file$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlreader.so' - /usr/lib/php/20151012/xmlreader.so: cannot open shared object file: No$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlwriter.so' - /usr/lib/php/20151012/xmlwriter.so: cannot open shared object file: No$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xsl.so' - /usr/lib/php/20151012/xsl.so: cannot open shared object file: No such file o$
[Mon Jul 18 12:54:26.942086 2016] [mpm_prefork:notice] [pid 14888] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Mon Jul 18 12:54:26.942120 2016] [core:notice] [pid 14888] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 18 12:55:36.014664 2016] [:error] [pid 14891] [client 103.255.6.72:60140] script '/var/www/html/info1.php' not found or unable to stat
[Mon Jul 18 12:56:38.672883 2016] [mpm_prefork:notice] [pid 14888] AH00169: caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xml.so' - /usr/lib/php/20151012/xml.so: cannot open shared object file: No such file o$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/dom.so' - /usr/lib/php/20151012/dom.so: cannot open shared object file: No such file o$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/simplexml.so' - /usr/lib/php/20151012/simplexml.so: cannot open shared object file: No$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/wddx.so' - /usr/lib/php/20151012/wddx.so: cannot open shared object file: No such file$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlreader.so' - /usr/lib/php/20151012/xmlreader.so: cannot open shared object file: No$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlwriter.so' - /usr/lib/php/20151012/xmlwriter.so: cannot open shared object file: No$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xsl.so' - /usr/lib/php/20151012/xsl.so: cannot open shared object file: No such file o$
[Mon Jul 18 12:56:39.724500 2016] [mpm_prefork:notice] [pid 14954] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Mon Jul 18 12:56:39.724533 2016] [core:notice] [pid 14954] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 18 12:57:41.945362 2016] [mpm_prefork:notice] [pid 14954] AH00171: Graceful restart requested, doing restart
[Mon Jul 18 12:57:42.017483 2016] [mpm_prefork:notice] [pid 14954] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Mon Jul 18 12:57:42.017497 2016] [core:notice] [pid 14954] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 18 12:57:42.610599 2016] [mpm_prefork:notice] [pid 14954] AH00169: caught SIGTERM, shutting down
[Mon Jul 18 13:02:11.030749 2016] [mpm_prefork:notice] [pid 20227] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Mon Jul 18 13:02:11.030808 2016] [core:notice] [pid 20227] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 18 13:05:14.256971 2016] [mpm_prefork:notice] [pid 20227] AH00169: caught SIGTERM, shutting down
[Mon Jul 18 13:05:34.584056 2016] [mpm_prefork:notice] [pid 21762] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Mon Jul 18 13:05:34.584096 2016] [core:notice] [pid 21762] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 18 13:08:45.103877 2016] [mpm_prefork:notice] [pid 21762] AH00171: Graceful restart requested, doing restart
[Mon Jul 18 13:08:45.197300 2016] [mpm_prefork:notice] [pid 21762] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Mon Jul 18 13:08:45.197313 2016] [core:notice] [pid 21762] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 18 13:08:45.779038 2016] [mpm_prefork:notice] [pid 21762] AH00169: caught SIGTERM, shutting down


1 commentaires

Vous devriez vérifier le journal d'erreur. Aller à /var/log/apache2/error.log


4 Réponses :


0
votes

exécutez cette commande dans le terminal: xxx

Ajoutez les éléments suivants au bas du fichier: xxx

puis redémarrez Apache: xxx


0 commentaires

0
votes

0 commentaires

0
votes

Le problème est résolu en désinstallant Apache 2:

sudo apt-get install apache2


0 commentaires

32
votes

Ceci a fonctionné pour moi:

cd /etc/apache2/mods-enabled
rm php5.conf 
rm php5.load 

sudo service apache2 start;


5 commentaires

Je ne sais pas comment ni pourquoi, mais votre solution vient de travailler pour moi aussi.


J'ai essayé d'installer phpmyadmin avec PHP 7.1 déjà installé, puis il a essayé de faire des choses étranges avec PHP5 :( cette solution a fonctionné pour moi.


Travaille pour moi, tu as sauvé ma journée :) :)


Fonctionne comme un charme. Merci de m'avoir sauvé le mal de tête de devoir reconfigurer tout mon serveur entier: D


Je ne sais pas pourquoi non plus que cette solution a également fonctionné pour moi wow mec votre économiseur de vie!