Alors voilà, il y a quelques mois j'ai installé Lamp sur mon archlinux et tout fonctionnait bien jusqu'à maintenant. J'avais pour se faire suivi la documentation du wiki ->https://wiki.archlinux.fr/LAMP .
Puis la semaine dernière plus rien, mon localhost ne fonctionne plus, sans avoir fait de modifs (enfin il me semble).
La cause de ce dysfonctionnement vient peut-être du upgrade de ma version de php qui est maintenant la 7.0.3.
Du coup ne trouvant pas l'erreur j'ai décidé de tout reprendre à zéro et réinstaller Lamp en gardant les instructions de la même documentation(celle du wiki). J'ai tout bien suivi, mais rien ni fait, mon localhost est toujours en panne.
Voici le systemctl status httpd:
Quand je tape «mysql» ça me renvoie:sudo systemctl status httpd
httpd.service - Apache Web Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since mar. 2016-02-09 19:45:18 CET; 5s ago
Process: 15882 ExecStop=/usr/bin/httpd -k graceful-stop (code=exited, status=1/FAILURE)
Process: 15876 ExecStart=/usr/bin/httpd -k start -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 15876 (code=exited, status=1/FAILURE)
févr. 09 19:45:18 archninux-ag systemd[1]: Started Apache Web Server.
févr. 09 19:45:18 archninux-ag httpd[15876]: httpd: Syntax error on line 186 of /etc/httpd/conf/httpd.conf: Cannot load modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: can... or directory
févr. 09 19:45:18 archninux-ag systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
févr. 09 19:45:18 archninux-ag httpd[15882]: httpd: Syntax error on line 186 of /etc/httpd/conf/httpd.conf: Cannot load modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: can... or directory
févr. 09 19:45:18 archninux-ag systemd[1]: httpd.service: Control process exited, code=exited status=1
févr. 09 19:45:18 archninux-ag systemd[1]: httpd.service: Unit entered failed state.
févr. 09 19:45:18 archninux-ag systemd[1]: httpd.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
Code : Tout sélectionner
mysql
ERROR 1045 (28000): Access denied for user 'antoine'@'localhost' (using password: NO)
Code : Tout sélectionner
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost archlinux-ag
# End of file
Merci par avance.