Installation php
Résolu
tarekham
Messages postés
51
Date d'inscription
Statut
Membre
Dernière intervention
-
tarekham Messages postés 51 Date d'inscription Statut Membre Dernière intervention -
tarekham Messages postés 51 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
lorsque j'essaye d'installer php sur mon serveur avec "apt-get install libapache2-mod-php5", j'ai le message suivant :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libapache2-mod-php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libapache2-mod-php5' has no installation candidate
Comment je peux corriger ça s'il vous plaît ?
Merci
lorsque j'essaye d'installer php sur mon serveur avec "apt-get install libapache2-mod-php5", j'ai le message suivant :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libapache2-mod-php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libapache2-mod-php5' has no installation candidate
Comment je peux corriger ça s'il vous plaît ?
Merci
A voir également:
- Installation php
- Installation windows 10 sans compte microsoft - Guide
- Easy php - Télécharger - Divers Web & Internet
- Installation chromecast - Guide
- Installation clavier arabe - Télécharger - Divers Web & Internet
- Installation calculatrice - Télécharger - Calcul & Conversion
# sudo apt-get install libapache2-mod-php php
Reading package lists... Done
Building dependency tree
Reading state information... Done
php is already the newest version (1:7.0+49).
php set to manually installed.
The following package was automatically installed and is no longer required:
libintl-perl
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
libapache2-mod-php
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 5,168 B of archives.
After this operation, 16.4 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://ftp.fr.debian.org/debian/ stable/main amd64 libapache2-mod-php all 1 :7.0+49
Temporary failure resolving 'ftp.fr.debian.org'
E: Failed to fetch http://ftp.fr.debian.org/debian/pool/main/p/php-defaults/liba pache2-mod-php_7.0+49_all.deb Temporary failure resolving 'ftp.fr.debian.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis sing?
Tu as essayé de relancer
sudo apt-get update
comme il te le propose ?
# sudo apt-get update
Err:1 http://ftp.fr.debian.org/debian/ stable InRelease
Temporary failure resolving 'ftp.fr.debian.org'
Err:2 https://www.debian.org/security/ stable/updates InRelease
Temporary failure resolving 'security.debian.org'
Err:3 http://ftp.fr.debian.org/debian/ stable-updates InRelease
Temporary failure resolving 'ftp.fr.debian.org'
Reading package lists... Done
W: Failed to fetch http://ftp.fr.debian.org/debian/dists/stable/InRelease Temporary failure resolving 'ftp.fr.debian.org'
W: Failed to fetch http://security-cdn.debian.org/dists/stable/updates/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://ftp.fr.debian.org/debian/dists/stable-updates/InRelease Temporary failure resolving 'ftp.fr.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
apt-get install sysstat
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libintl-perl
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
libsensors4
Suggested packages:
lm-sensors isag
The following NEW packages will be installed:
libsensors4 sysstat
0 upgraded, 2 newly installed, 0 to remove and 7 not upgraded.
Need to get 414 kB of archives.
After this operation, 1,489 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://ftp.fr.debian.org/debian/ stable/main amd64 libsensors4 amd64 1:3.4. 0-4
Temporary failure resolving 'ftp.fr.debian.org'
Err:2 http://ftp.fr.debian.org/debian/ stable/main amd64 sysstat amd64 11.4.3-2
Temporary failure resolving 'ftp.fr.debian.org'
E: Failed to fetch http://ftp.fr.debian.org/debian/pool/main/l/lm-sensors/libsen sors4_3.4.0-4_amd64.deb Temporary failure resolving 'ftp.fr.debian.org'
E: Failed to fetch http://ftp.fr.debian.org/debian/pool/main/s/sysstat/sysstat_1 1.4.3-2_amd64.deb Temporary failure resolving 'ftp.fr.debian.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis sing?
quelqu'un a une idée sur cette erreur ?