How to install php7.2 on Debian?Install debian without gnomeInstall programs without an internet connection on DebianHow to install Cherokee web server on Debian Wheezy?How to install php5-memcached on Debian 7 with PHP 5.5?How to install Tuxpaint on Debian 7?How can I install an Arch package on Debian?apt pinning priority restrictedHow do I install PHP 5.6 on Debian 7.10? (Having trouble with installation.)How do I install proview in Debian?Debian: apt-get upgrade says “The following packages have been kept back” for various mariadb packages
Why are 150k or 200k jobs considered good when there are 300k+ births a month?
What are these boxed doors outside store fronts in New York?
A Journey Through Space and Time
How can I fix this gap between bookcases I made?
Schwarzchild Radius of the Universe
Can a German sentence have two subjects?
How to make payment on the internet without leaving a money trail?
How do I create uniquely male characters?
How is it possible to have an ability score that is less than 3?
How to add power-LED to my small amplifier?
The use of multiple foreign keys on same column in SQL Server
What would happen to a modern skyscraper if it rains micro blackholes?
DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?
Shell script can be run only with sh command
How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?
Pronouncing Dictionary.com's W.O.D "vade mecum" in English
How to report a triplet of septets in NMR tabulation?
Should I join office cleaning event for free?
Japan - Plan around max visa duration
How is this relation reflexive?
I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine
TGV timetables / schedules?
What typically incentivizes a professor to change jobs to a lower ranking university?
whey we use polarized capacitor?
How to install php7.2 on Debian?
Install debian without gnomeInstall programs without an internet connection on DebianHow to install Cherokee web server on Debian Wheezy?How to install php5-memcached on Debian 7 with PHP 5.5?How to install Tuxpaint on Debian 7?How can I install an Arch package on Debian?apt pinning priority restrictedHow do I install PHP 5.6 on Debian 7.10? (Having trouble with installation.)How do I install proview in Debian?Debian: apt-get upgrade says “The following packages have been kept back” for various mariadb packages
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a problem in the installation of php.
I have tested a lot of solution but without success.
I'm using debian 8 server.
Here is the error in french (sorry)
In English this error speak about break package of php
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :
Les paquets suivants contiennent des dépendances non satisfaites :
php : Dépend: php7.2 mais ne sera pas installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
root@vps504782:~# aptitude show php
Paquet : php
Version :
1:7.2+61+0~20180412074047.7
+stretch~1.g. bp7c9031
État: non installé
Priorité : optionnel
Section : php
Responsable : Debian PHP Maintainers
<pkg-php-maint
@lists.alioth.debian.org>
Architecture : all
Taille décompressée : 12,3 k
Dépend: php7.2
Fourni par : php5.6
(5.6.36-1+0~20180505045928.13
+stretch~1 .gbp9b5cab), php5.6
(5.6.36-1+ubuntu18.04.1+deb.sury.org+1) , php7.0 (7.0.10-1~dotdeb+8.1), php7.0
(7.0.11-1~dotdeb+8.1), php7.0
(7.0.12-1~dotdeb+8.1), php7.0
(7.0.13-1~dotdeb+8.1), php7.0
(7.0.14-1~dotdeb+8.1), php7.0
(7.0.15-1~dotdeb+8.1), php7.0
(7.0.16-1~dotdeb+8.1), php7.0
(7.0.17-1~dotdeb+8.1), php7.0
(7.0.18-1~dotdeb+8.1), php7.0
(7.0.19-1~dotdeb+8.1), php7.0
(7.0.20-1~dotdeb+8.1), php7.0
(7.0.20-1~dotdeb+8.2), php7.0
(7.0.22-1~dotdeb+8.1), php7.0
(7.0.23-1~dotdeb+8.1), php7.0
(7.0.24-1~dotdeb+8.1), php7.0
(7.0.25-1~dotdeb+8.1), php7.0
(7.0.26-1~dotdeb+8.1), php7.0
(7.0.26-1~dotdeb+8.2), php7.0
(7.0.27-0+deb9u1), php7.0
(7.0.27-1~dotdeb+8.1), php7.0
(7.0.28-1~dotdeb+8.1), php7.0
(7.0.29-1~dotdeb+8.1), php7.0
(7.0.30-1+0~20180505045735.18+stretch~1 .gbpcfecb9), php7.0
(7.0.30-1+ubuntu18.04.1+deb.sury.org+1) , php7.0 (7.0.30-1~dotdeb+8.1), php7.0
(7.0.8-1~dotdeb+8.1), php7.0
(7.0.9-1~dotdeb+8.1), php7.1
(7.1.17-1+0~20180505045738.17+stretch~1 .gbpde69c6), php7.1
(7.1.17-1+ubuntu18.04.1+deb.sury.org+1) , php7.2
(7.2.5-1+0~20180505045740.21+stretch~1. gbpca2fa6), php7.2
(7.2.5-1+ubuntu18.04.1+deb.sury.org+1)
Description : server-side, HTML-.
embedded scripting language (default)
PHP (recursive acronym for PHP:
Hypertext
Preprocessor) is a widely-used open
source
general-purpose scripting language that is
especially suited for web development and
can be
embedded into HTML.
This package is a dependency package,
which depends on latest stable PHP
version (currently 7.2).
uname -a
Linux vps504782 4.9.0-6-amd64 #1 SMP
Debian 4.9.88-1+deb9u1 (2018-05-07)
x86_64 GNU/Linux
root@vps504782:~# apt-cache policy php
php:
Installé : (aucun)
Candidat :
1:7.2+61+0~20180412074047.7
+stretch~1.gbp7c9031
Table de version :.
1:7.2+61+0~20180412074047.7
+stretch~1.gbp7c9031 500
500 https://packages.sury.org/php
stretch/main amd64 Packages
1:7.2+60+ubuntu18.04.1+deb.sury.org+1
500
500 http://ppa.launchpad.net/ondrej/.
php/ubuntu bionic/main amd64 Packages
1:7.0+49 500
500 http://deb.debian.org/debian
stretch/main amd64 Packages
debian software-installation package-management php
add a comment |
I have a problem in the installation of php.
I have tested a lot of solution but without success.
I'm using debian 8 server.
Here is the error in french (sorry)
In English this error speak about break package of php
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :
Les paquets suivants contiennent des dépendances non satisfaites :
php : Dépend: php7.2 mais ne sera pas installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
root@vps504782:~# aptitude show php
Paquet : php
Version :
1:7.2+61+0~20180412074047.7
+stretch~1.g. bp7c9031
État: non installé
Priorité : optionnel
Section : php
Responsable : Debian PHP Maintainers
<pkg-php-maint
@lists.alioth.debian.org>
Architecture : all
Taille décompressée : 12,3 k
Dépend: php7.2
Fourni par : php5.6
(5.6.36-1+0~20180505045928.13
+stretch~1 .gbp9b5cab), php5.6
(5.6.36-1+ubuntu18.04.1+deb.sury.org+1) , php7.0 (7.0.10-1~dotdeb+8.1), php7.0
(7.0.11-1~dotdeb+8.1), php7.0
(7.0.12-1~dotdeb+8.1), php7.0
(7.0.13-1~dotdeb+8.1), php7.0
(7.0.14-1~dotdeb+8.1), php7.0
(7.0.15-1~dotdeb+8.1), php7.0
(7.0.16-1~dotdeb+8.1), php7.0
(7.0.17-1~dotdeb+8.1), php7.0
(7.0.18-1~dotdeb+8.1), php7.0
(7.0.19-1~dotdeb+8.1), php7.0
(7.0.20-1~dotdeb+8.1), php7.0
(7.0.20-1~dotdeb+8.2), php7.0
(7.0.22-1~dotdeb+8.1), php7.0
(7.0.23-1~dotdeb+8.1), php7.0
(7.0.24-1~dotdeb+8.1), php7.0
(7.0.25-1~dotdeb+8.1), php7.0
(7.0.26-1~dotdeb+8.1), php7.0
(7.0.26-1~dotdeb+8.2), php7.0
(7.0.27-0+deb9u1), php7.0
(7.0.27-1~dotdeb+8.1), php7.0
(7.0.28-1~dotdeb+8.1), php7.0
(7.0.29-1~dotdeb+8.1), php7.0
(7.0.30-1+0~20180505045735.18+stretch~1 .gbpcfecb9), php7.0
(7.0.30-1+ubuntu18.04.1+deb.sury.org+1) , php7.0 (7.0.30-1~dotdeb+8.1), php7.0
(7.0.8-1~dotdeb+8.1), php7.0
(7.0.9-1~dotdeb+8.1), php7.1
(7.1.17-1+0~20180505045738.17+stretch~1 .gbpde69c6), php7.1
(7.1.17-1+ubuntu18.04.1+deb.sury.org+1) , php7.2
(7.2.5-1+0~20180505045740.21+stretch~1. gbpca2fa6), php7.2
(7.2.5-1+ubuntu18.04.1+deb.sury.org+1)
Description : server-side, HTML-.
embedded scripting language (default)
PHP (recursive acronym for PHP:
Hypertext
Preprocessor) is a widely-used open
source
general-purpose scripting language that is
especially suited for web development and
can be
embedded into HTML.
This package is a dependency package,
which depends on latest stable PHP
version (currently 7.2).
uname -a
Linux vps504782 4.9.0-6-amd64 #1 SMP
Debian 4.9.88-1+deb9u1 (2018-05-07)
x86_64 GNU/Linux
root@vps504782:~# apt-cache policy php
php:
Installé : (aucun)
Candidat :
1:7.2+61+0~20180412074047.7
+stretch~1.gbp7c9031
Table de version :.
1:7.2+61+0~20180412074047.7
+stretch~1.gbp7c9031 500
500 https://packages.sury.org/php
stretch/main amd64 Packages
1:7.2+60+ubuntu18.04.1+deb.sury.org+1
500
500 http://ppa.launchpad.net/ondrej/.
php/ubuntu bionic/main amd64 Packages
1:7.0+49 500
500 http://deb.debian.org/debian
stretch/main amd64 Packages
debian software-installation package-management php
Please provide information about repository you try to use for this installation or source from which you download this package. Php 7.2 is not available in default debian repository for release 8: packages.debian.org/…
– mariaczi
Jun 5 '18 at 9:04
Welcome to U&L , Did you need to install php7.2 on debian jessie?
– GAD3R
Jun 5 '18 at 9:10
What is the output ofuname -a
?
– GAD3R
Jun 5 '18 at 9:20
1
I have edit post, yes I need it but I cant :c
– therapha361
Jun 5 '18 at 9:20
Can you addapt-cache policy php
, please?
– GAD3R
Jun 5 '18 at 10:00
add a comment |
I have a problem in the installation of php.
I have tested a lot of solution but without success.
I'm using debian 8 server.
Here is the error in french (sorry)
In English this error speak about break package of php
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :
Les paquets suivants contiennent des dépendances non satisfaites :
php : Dépend: php7.2 mais ne sera pas installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
root@vps504782:~# aptitude show php
Paquet : php
Version :
1:7.2+61+0~20180412074047.7
+stretch~1.g. bp7c9031
État: non installé
Priorité : optionnel
Section : php
Responsable : Debian PHP Maintainers
<pkg-php-maint
@lists.alioth.debian.org>
Architecture : all
Taille décompressée : 12,3 k
Dépend: php7.2
Fourni par : php5.6
(5.6.36-1+0~20180505045928.13
+stretch~1 .gbp9b5cab), php5.6
(5.6.36-1+ubuntu18.04.1+deb.sury.org+1) , php7.0 (7.0.10-1~dotdeb+8.1), php7.0
(7.0.11-1~dotdeb+8.1), php7.0
(7.0.12-1~dotdeb+8.1), php7.0
(7.0.13-1~dotdeb+8.1), php7.0
(7.0.14-1~dotdeb+8.1), php7.0
(7.0.15-1~dotdeb+8.1), php7.0
(7.0.16-1~dotdeb+8.1), php7.0
(7.0.17-1~dotdeb+8.1), php7.0
(7.0.18-1~dotdeb+8.1), php7.0
(7.0.19-1~dotdeb+8.1), php7.0
(7.0.20-1~dotdeb+8.1), php7.0
(7.0.20-1~dotdeb+8.2), php7.0
(7.0.22-1~dotdeb+8.1), php7.0
(7.0.23-1~dotdeb+8.1), php7.0
(7.0.24-1~dotdeb+8.1), php7.0
(7.0.25-1~dotdeb+8.1), php7.0
(7.0.26-1~dotdeb+8.1), php7.0
(7.0.26-1~dotdeb+8.2), php7.0
(7.0.27-0+deb9u1), php7.0
(7.0.27-1~dotdeb+8.1), php7.0
(7.0.28-1~dotdeb+8.1), php7.0
(7.0.29-1~dotdeb+8.1), php7.0
(7.0.30-1+0~20180505045735.18+stretch~1 .gbpcfecb9), php7.0
(7.0.30-1+ubuntu18.04.1+deb.sury.org+1) , php7.0 (7.0.30-1~dotdeb+8.1), php7.0
(7.0.8-1~dotdeb+8.1), php7.0
(7.0.9-1~dotdeb+8.1), php7.1
(7.1.17-1+0~20180505045738.17+stretch~1 .gbpde69c6), php7.1
(7.1.17-1+ubuntu18.04.1+deb.sury.org+1) , php7.2
(7.2.5-1+0~20180505045740.21+stretch~1. gbpca2fa6), php7.2
(7.2.5-1+ubuntu18.04.1+deb.sury.org+1)
Description : server-side, HTML-.
embedded scripting language (default)
PHP (recursive acronym for PHP:
Hypertext
Preprocessor) is a widely-used open
source
general-purpose scripting language that is
especially suited for web development and
can be
embedded into HTML.
This package is a dependency package,
which depends on latest stable PHP
version (currently 7.2).
uname -a
Linux vps504782 4.9.0-6-amd64 #1 SMP
Debian 4.9.88-1+deb9u1 (2018-05-07)
x86_64 GNU/Linux
root@vps504782:~# apt-cache policy php
php:
Installé : (aucun)
Candidat :
1:7.2+61+0~20180412074047.7
+stretch~1.gbp7c9031
Table de version :.
1:7.2+61+0~20180412074047.7
+stretch~1.gbp7c9031 500
500 https://packages.sury.org/php
stretch/main amd64 Packages
1:7.2+60+ubuntu18.04.1+deb.sury.org+1
500
500 http://ppa.launchpad.net/ondrej/.
php/ubuntu bionic/main amd64 Packages
1:7.0+49 500
500 http://deb.debian.org/debian
stretch/main amd64 Packages
debian software-installation package-management php
I have a problem in the installation of php.
I have tested a lot of solution but without success.
I'm using debian 8 server.
Here is the error in french (sorry)
In English this error speak about break package of php
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :
Les paquets suivants contiennent des dépendances non satisfaites :
php : Dépend: php7.2 mais ne sera pas installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
root@vps504782:~# aptitude show php
Paquet : php
Version :
1:7.2+61+0~20180412074047.7
+stretch~1.g. bp7c9031
État: non installé
Priorité : optionnel
Section : php
Responsable : Debian PHP Maintainers
<pkg-php-maint
@lists.alioth.debian.org>
Architecture : all
Taille décompressée : 12,3 k
Dépend: php7.2
Fourni par : php5.6
(5.6.36-1+0~20180505045928.13
+stretch~1 .gbp9b5cab), php5.6
(5.6.36-1+ubuntu18.04.1+deb.sury.org+1) , php7.0 (7.0.10-1~dotdeb+8.1), php7.0
(7.0.11-1~dotdeb+8.1), php7.0
(7.0.12-1~dotdeb+8.1), php7.0
(7.0.13-1~dotdeb+8.1), php7.0
(7.0.14-1~dotdeb+8.1), php7.0
(7.0.15-1~dotdeb+8.1), php7.0
(7.0.16-1~dotdeb+8.1), php7.0
(7.0.17-1~dotdeb+8.1), php7.0
(7.0.18-1~dotdeb+8.1), php7.0
(7.0.19-1~dotdeb+8.1), php7.0
(7.0.20-1~dotdeb+8.1), php7.0
(7.0.20-1~dotdeb+8.2), php7.0
(7.0.22-1~dotdeb+8.1), php7.0
(7.0.23-1~dotdeb+8.1), php7.0
(7.0.24-1~dotdeb+8.1), php7.0
(7.0.25-1~dotdeb+8.1), php7.0
(7.0.26-1~dotdeb+8.1), php7.0
(7.0.26-1~dotdeb+8.2), php7.0
(7.0.27-0+deb9u1), php7.0
(7.0.27-1~dotdeb+8.1), php7.0
(7.0.28-1~dotdeb+8.1), php7.0
(7.0.29-1~dotdeb+8.1), php7.0
(7.0.30-1+0~20180505045735.18+stretch~1 .gbpcfecb9), php7.0
(7.0.30-1+ubuntu18.04.1+deb.sury.org+1) , php7.0 (7.0.30-1~dotdeb+8.1), php7.0
(7.0.8-1~dotdeb+8.1), php7.0
(7.0.9-1~dotdeb+8.1), php7.1
(7.1.17-1+0~20180505045738.17+stretch~1 .gbpde69c6), php7.1
(7.1.17-1+ubuntu18.04.1+deb.sury.org+1) , php7.2
(7.2.5-1+0~20180505045740.21+stretch~1. gbpca2fa6), php7.2
(7.2.5-1+ubuntu18.04.1+deb.sury.org+1)
Description : server-side, HTML-.
embedded scripting language (default)
PHP (recursive acronym for PHP:
Hypertext
Preprocessor) is a widely-used open
source
general-purpose scripting language that is
especially suited for web development and
can be
embedded into HTML.
This package is a dependency package,
which depends on latest stable PHP
version (currently 7.2).
uname -a
Linux vps504782 4.9.0-6-amd64 #1 SMP
Debian 4.9.88-1+deb9u1 (2018-05-07)
x86_64 GNU/Linux
root@vps504782:~# apt-cache policy php
php:
Installé : (aucun)
Candidat :
1:7.2+61+0~20180412074047.7
+stretch~1.gbp7c9031
Table de version :.
1:7.2+61+0~20180412074047.7
+stretch~1.gbp7c9031 500
500 https://packages.sury.org/php
stretch/main amd64 Packages
1:7.2+60+ubuntu18.04.1+deb.sury.org+1
500
500 http://ppa.launchpad.net/ondrej/.
php/ubuntu bionic/main amd64 Packages
1:7.0+49 500
500 http://deb.debian.org/debian
stretch/main amd64 Packages
debian software-installation package-management php
debian software-installation package-management php
edited Jun 10 '18 at 12:28
Jeff Schaller♦
44.7k1163145
44.7k1163145
asked Jun 5 '18 at 8:00
therapha361therapha361
1315
1315
Please provide information about repository you try to use for this installation or source from which you download this package. Php 7.2 is not available in default debian repository for release 8: packages.debian.org/…
– mariaczi
Jun 5 '18 at 9:04
Welcome to U&L , Did you need to install php7.2 on debian jessie?
– GAD3R
Jun 5 '18 at 9:10
What is the output ofuname -a
?
– GAD3R
Jun 5 '18 at 9:20
1
I have edit post, yes I need it but I cant :c
– therapha361
Jun 5 '18 at 9:20
Can you addapt-cache policy php
, please?
– GAD3R
Jun 5 '18 at 10:00
add a comment |
Please provide information about repository you try to use for this installation or source from which you download this package. Php 7.2 is not available in default debian repository for release 8: packages.debian.org/…
– mariaczi
Jun 5 '18 at 9:04
Welcome to U&L , Did you need to install php7.2 on debian jessie?
– GAD3R
Jun 5 '18 at 9:10
What is the output ofuname -a
?
– GAD3R
Jun 5 '18 at 9:20
1
I have edit post, yes I need it but I cant :c
– therapha361
Jun 5 '18 at 9:20
Can you addapt-cache policy php
, please?
– GAD3R
Jun 5 '18 at 10:00
Please provide information about repository you try to use for this installation or source from which you download this package. Php 7.2 is not available in default debian repository for release 8: packages.debian.org/…
– mariaczi
Jun 5 '18 at 9:04
Please provide information about repository you try to use for this installation or source from which you download this package. Php 7.2 is not available in default debian repository for release 8: packages.debian.org/…
– mariaczi
Jun 5 '18 at 9:04
Welcome to U&L , Did you need to install php7.2 on debian jessie?
– GAD3R
Jun 5 '18 at 9:10
Welcome to U&L , Did you need to install php7.2 on debian jessie?
– GAD3R
Jun 5 '18 at 9:10
What is the output of
uname -a
?– GAD3R
Jun 5 '18 at 9:20
What is the output of
uname -a
?– GAD3R
Jun 5 '18 at 9:20
1
1
I have edit post, yes I need it but I cant :c
– therapha361
Jun 5 '18 at 9:20
I have edit post, yes I need it but I cant :c
– therapha361
Jun 5 '18 at 9:20
Can you add
apt-cache policy php
, please?– GAD3R
Jun 5 '18 at 10:00
Can you add
apt-cache policy php
, please?– GAD3R
Jun 5 '18 at 10:00
add a comment |
1 Answer
1
active
oldest
votes
Remove the dotdeb urls (http://packages.dotdeb.org
) from your /etc/apt/sources.list
or the file under /etc/apt/sources.list.d
directory then run:
apt update
apt -f install
To install php7.2 on debian Stretch (or Debian Jessie) you should use the Ondřej Surý repository:
apt install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
apt update
Check the available php versions:
apt-cache search php7
To install php7.2:
apt install php7.2
packages.dotdeb.org do not appear in source list (tanks for your answer)
– therapha361
Jun 5 '18 at 9:54
I have error when I execute apt-update The following signatures could not be verified because of the public Key is not available - NO_PUBKEY
– therapha361
Jun 5 '18 at 10:04
@therapha361 usewget
answer edited. Commands should be executed as root or usingsudo
.
– GAD3R
Jun 5 '18 at 10:06
@therapha361 Please do not forget to add the output ofapt-cache policy php
to you question.
– GAD3R
Jun 5 '18 at 10:09
1
I am too happy. I have succeeded, I put you as an answer you put me on the way. I had to successfully delete the contents of the folder sources.list.d
– therapha361
Jun 5 '18 at 11:09
|
show 1 more comment
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f447933%2fhow-to-install-php7-2-on-debian%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Remove the dotdeb urls (http://packages.dotdeb.org
) from your /etc/apt/sources.list
or the file under /etc/apt/sources.list.d
directory then run:
apt update
apt -f install
To install php7.2 on debian Stretch (or Debian Jessie) you should use the Ondřej Surý repository:
apt install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
apt update
Check the available php versions:
apt-cache search php7
To install php7.2:
apt install php7.2
packages.dotdeb.org do not appear in source list (tanks for your answer)
– therapha361
Jun 5 '18 at 9:54
I have error when I execute apt-update The following signatures could not be verified because of the public Key is not available - NO_PUBKEY
– therapha361
Jun 5 '18 at 10:04
@therapha361 usewget
answer edited. Commands should be executed as root or usingsudo
.
– GAD3R
Jun 5 '18 at 10:06
@therapha361 Please do not forget to add the output ofapt-cache policy php
to you question.
– GAD3R
Jun 5 '18 at 10:09
1
I am too happy. I have succeeded, I put you as an answer you put me on the way. I had to successfully delete the contents of the folder sources.list.d
– therapha361
Jun 5 '18 at 11:09
|
show 1 more comment
Remove the dotdeb urls (http://packages.dotdeb.org
) from your /etc/apt/sources.list
or the file under /etc/apt/sources.list.d
directory then run:
apt update
apt -f install
To install php7.2 on debian Stretch (or Debian Jessie) you should use the Ondřej Surý repository:
apt install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
apt update
Check the available php versions:
apt-cache search php7
To install php7.2:
apt install php7.2
packages.dotdeb.org do not appear in source list (tanks for your answer)
– therapha361
Jun 5 '18 at 9:54
I have error when I execute apt-update The following signatures could not be verified because of the public Key is not available - NO_PUBKEY
– therapha361
Jun 5 '18 at 10:04
@therapha361 usewget
answer edited. Commands should be executed as root or usingsudo
.
– GAD3R
Jun 5 '18 at 10:06
@therapha361 Please do not forget to add the output ofapt-cache policy php
to you question.
– GAD3R
Jun 5 '18 at 10:09
1
I am too happy. I have succeeded, I put you as an answer you put me on the way. I had to successfully delete the contents of the folder sources.list.d
– therapha361
Jun 5 '18 at 11:09
|
show 1 more comment
Remove the dotdeb urls (http://packages.dotdeb.org
) from your /etc/apt/sources.list
or the file under /etc/apt/sources.list.d
directory then run:
apt update
apt -f install
To install php7.2 on debian Stretch (or Debian Jessie) you should use the Ondřej Surý repository:
apt install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
apt update
Check the available php versions:
apt-cache search php7
To install php7.2:
apt install php7.2
Remove the dotdeb urls (http://packages.dotdeb.org
) from your /etc/apt/sources.list
or the file under /etc/apt/sources.list.d
directory then run:
apt update
apt -f install
To install php7.2 on debian Stretch (or Debian Jessie) you should use the Ondřej Surý repository:
apt install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
apt update
Check the available php versions:
apt-cache search php7
To install php7.2:
apt install php7.2
edited Jun 5 '18 at 12:10
answered Jun 5 '18 at 9:35
GAD3RGAD3R
28k1958114
28k1958114
packages.dotdeb.org do not appear in source list (tanks for your answer)
– therapha361
Jun 5 '18 at 9:54
I have error when I execute apt-update The following signatures could not be verified because of the public Key is not available - NO_PUBKEY
– therapha361
Jun 5 '18 at 10:04
@therapha361 usewget
answer edited. Commands should be executed as root or usingsudo
.
– GAD3R
Jun 5 '18 at 10:06
@therapha361 Please do not forget to add the output ofapt-cache policy php
to you question.
– GAD3R
Jun 5 '18 at 10:09
1
I am too happy. I have succeeded, I put you as an answer you put me on the way. I had to successfully delete the contents of the folder sources.list.d
– therapha361
Jun 5 '18 at 11:09
|
show 1 more comment
packages.dotdeb.org do not appear in source list (tanks for your answer)
– therapha361
Jun 5 '18 at 9:54
I have error when I execute apt-update The following signatures could not be verified because of the public Key is not available - NO_PUBKEY
– therapha361
Jun 5 '18 at 10:04
@therapha361 usewget
answer edited. Commands should be executed as root or usingsudo
.
– GAD3R
Jun 5 '18 at 10:06
@therapha361 Please do not forget to add the output ofapt-cache policy php
to you question.
– GAD3R
Jun 5 '18 at 10:09
1
I am too happy. I have succeeded, I put you as an answer you put me on the way. I had to successfully delete the contents of the folder sources.list.d
– therapha361
Jun 5 '18 at 11:09
packages.dotdeb.org do not appear in source list (tanks for your answer)
– therapha361
Jun 5 '18 at 9:54
packages.dotdeb.org do not appear in source list (tanks for your answer)
– therapha361
Jun 5 '18 at 9:54
I have error when I execute apt-update The following signatures could not be verified because of the public Key is not available - NO_PUBKEY
– therapha361
Jun 5 '18 at 10:04
I have error when I execute apt-update The following signatures could not be verified because of the public Key is not available - NO_PUBKEY
– therapha361
Jun 5 '18 at 10:04
@therapha361 use
wget
answer edited. Commands should be executed as root or using sudo
.– GAD3R
Jun 5 '18 at 10:06
@therapha361 use
wget
answer edited. Commands should be executed as root or using sudo
.– GAD3R
Jun 5 '18 at 10:06
@therapha361 Please do not forget to add the output of
apt-cache policy php
to you question.– GAD3R
Jun 5 '18 at 10:09
@therapha361 Please do not forget to add the output of
apt-cache policy php
to you question.– GAD3R
Jun 5 '18 at 10:09
1
1
I am too happy. I have succeeded, I put you as an answer you put me on the way. I had to successfully delete the contents of the folder sources.list.d
– therapha361
Jun 5 '18 at 11:09
I am too happy. I have succeeded, I put you as an answer you put me on the way. I had to successfully delete the contents of the folder sources.list.d
– therapha361
Jun 5 '18 at 11:09
|
show 1 more comment
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f447933%2fhow-to-install-php7-2-on-debian%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please provide information about repository you try to use for this installation or source from which you download this package. Php 7.2 is not available in default debian repository for release 8: packages.debian.org/…
– mariaczi
Jun 5 '18 at 9:04
Welcome to U&L , Did you need to install php7.2 on debian jessie?
– GAD3R
Jun 5 '18 at 9:10
What is the output of
uname -a
?– GAD3R
Jun 5 '18 at 9:20
1
I have edit post, yes I need it but I cant :c
– therapha361
Jun 5 '18 at 9:20
Can you add
apt-cache policy php
, please?– GAD3R
Jun 5 '18 at 10:00