Comments on: How to Install PHP 7.2 on Debian 9 https://linuxhostsupport.com/blog/how-to-install-php-7-2-on-debian-9/ Linux Tutorials and Guides Sun, 14 Feb 2021 22:38:41 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: admin https://linuxhostsupport.com/blog/how-to-install-php-7-2-on-debian-9/#comment-400 Mon, 19 Oct 2020 06:48:06 +0000 https://linuxhostsupport.com/blog/?p=670#comment-400 In reply to Saviour Silla.

There should be an update to 7.2.34 on the same repository from the tutorial. Just run apt update and apt upgrade.

]]>
By: Saviour Silla https://linuxhostsupport.com/blog/how-to-install-php-7-2-on-debian-9/#comment-398 Thu, 15 Oct 2020 06:43:09 +0000 https://linuxhostsupport.com/blog/?p=670#comment-398 Hello,

Currently, there is a new stable release 7.2.34 and I wanted to have that release installed.
What would be the steps needed? My current version now is 7.2.33.

Seeking for your help

]]>
By: G. Marrali https://linuxhostsupport.com/blog/how-to-install-php-7-2-on-debian-9/#comment-378 Tue, 18 Aug 2020 09:13:36 +0000 https://linuxhostsupport.com/blog/?p=670#comment-378 Hi,

Something is missing, this package
apt install libapache2-mod-php7.2
because a2enmod php7.2 will fail without it.

]]>
By: G. Marrali https://linuxhostsupport.com/blog/how-to-install-php-7-2-on-debian-9/#comment-364 Thu, 11 Jun 2020 20:02:59 +0000 https://linuxhostsupport.com/blog/?p=670#comment-364 Thanks

]]>
By: Serg Ryabinin https://linuxhostsupport.com/blog/how-to-install-php-7-2-on-debian-9/#comment-285 Wed, 29 Jan 2020 11:57:44 +0000 https://linuxhostsupport.com/blog/?p=670#comment-285 In reply to admin.

Perhaps the user does not execute a2dismod php7.0 and does not activate the new a2enmod php7.2 module
then he sees version 7.2 on the command line and the previous version for the web environment as well, since it is connected as a module.

]]>
By: Haidar https://linuxhostsupport.com/blog/how-to-install-php-7-2-on-debian-9/#comment-252 Wed, 16 Oct 2019 09:05:42 +0000 https://linuxhostsupport.com/blog/?p=670#comment-252 Nice tutorial
——————–
Thanks 😀

]]>
By: admin https://linuxhostsupport.com/blog/how-to-install-php-7-2-on-debian-9/#comment-156 Wed, 30 Jan 2019 09:10:54 +0000 https://linuxhostsupport.com/blog/?p=670#comment-156 It is possible to have more than one PHP version installed on your server. Most likely PHP 7.2 is set as the default server PHP version, and PHP 5.6 is set as the default version for your WordPress site. If you have some kind of control panel on your server, it is usually quite simple to change and assign a different PHP version to each of your websites, based on their requirements.

]]>
By: Simo https://linuxhostsupport.com/blog/how-to-install-php-7-2-on-debian-9/#comment-155 Tue, 29 Jan 2019 13:24:56 +0000 https://linuxhostsupport.com/blog/?p=670#comment-155 Hello,

I do this config, on my info.php, i got :

PHP Version 7.2.14-1+0~20190113100657.14+jessie~1.gbpd8

On my server with debian 8, with php -v command :

# php -v
PHP 7.2.14-1+0~20190113100657.14+jessie~1.gbpd83c69 (cli) (built: Jan 13 2019 10:30:36) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.14-1+0~20190113100657.14+jessie~1.gbpd83c69, Copyright (c) 1999-2018, by Zend Technologies

But, on my wordpress , I still have PHP 5.6 :

You are running WordPress 5.0.3 | PHP 5.6.30-0+deb8u1 | Apache/2.4.10 (Debian) | MySQL 5.5.54-0+deb8u1

Thanks in advance

]]>
By: admin https://linuxhostsupport.com/blog/how-to-install-php-7-2-on-debian-9/#comment-154 Sun, 27 Jan 2019 10:34:19 +0000 https://linuxhostsupport.com/blog/?p=670#comment-154 In reply to Carl Schwan.

Thanks for letting us know. The typo has been corrected.

]]>
By: Carl Schwan https://linuxhostsupport.com/blog/how-to-install-php-7-2-on-debian-9/#comment-153 Sat, 26 Jan 2019 13:36:27 +0000 https://linuxhostsupport.com/blog/?p=670#comment-153 Typo in the Disable php 7.0 section:

correct command is: a2dismod php7.0 and not a2dismod php 7.0

]]>