Comments on: How to Install PHP 7.3 on Ubuntu 16.04 https://www.rosehosting.com/blog/how-to-install-php-7-3-on-ubuntu-16-04/ Premium Linux Tutorials Since 2001 Fri, 30 Dec 2022 08:25:58 +0000 hourly 1 https://wordpress.org/?v=6.5.4 By: admin https://www.rosehosting.com/blog/how-to-install-php-7-3-on-ubuntu-16-04/#comment-48771 Fri, 10 Dec 2021 08:41:52 +0000 https://www.rosehosting.com/blog/?p=29220#comment-48771 In reply to Delia.

It seems that PHP dropped the support for Ubuntu 16.04. You should use the latest version of Ubuntu since Ubuntu 16.04 is no longer supported.

]]>
By: Delia https://www.rosehosting.com/blog/how-to-install-php-7-3-on-ubuntu-16-04/#comment-48770 Thu, 09 Dec 2021 11:04:58 +0000 https://www.rosehosting.com/blog/?p=29220#comment-48770 I think I have found the issue. It seems that Ubuntu 16 and this repository are not compatible

]]>
By: Delia https://www.rosehosting.com/blog/how-to-install-php-7-3-on-ubuntu-16-04/#comment-48769 Thu, 09 Dec 2021 09:22:57 +0000 https://www.rosehosting.com/blog/?p=29220#comment-48769 I have followed all the steps in the article, including step 3.
This is what I get on executing “sudo add-apt-repository ppa:ondrej/php”

Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions are included. Only Supported Versions of PHP (http://php.net/supported-versions.php) for Supported Ubuntu Releases (https://wiki.ubuntu.com/Releases) are provided. Don’t ask for end-of-life PHP versions or Ubuntu release, they won’t be provided.

Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa

You can get more information about the packages at https://deb.sury.org

IMPORTANT: The -backports is now required on older Ubuntu releases.

]]>
By: admin https://www.rosehosting.com/blog/how-to-install-php-7-3-on-ubuntu-16-04/#comment-48768 Thu, 09 Dec 2021 07:12:45 +0000 https://www.rosehosting.com/blog/?p=29220#comment-48768 In reply to Delia.

Make sure to add Ondřej Surý’s PPA repository it is on step 3 of this article.

]]>
By: Delia https://www.rosehosting.com/blog/how-to-install-php-7-3-on-ubuntu-16-04/#comment-48767 Wed, 08 Dec 2021 20:36:30 +0000 https://www.rosehosting.com/blog/?p=29220#comment-48767 Same here

]]>
By: admin https://www.rosehosting.com/blog/how-to-install-php-7-3-on-ubuntu-16-04/#comment-48766 Wed, 08 Dec 2021 08:44:06 +0000 https://www.rosehosting.com/blog/?p=29220#comment-48766 In reply to RAUAREMAR.

Did you add the Ondřej PPA repository?

]]>
By: RAUAREMAR https://www.rosehosting.com/blog/how-to-install-php-7-3-on-ubuntu-16-04/#comment-48765 Tue, 07 Dec 2021 11:49:46 +0000 https://www.rosehosting.com/blog/?p=29220#comment-48765 I have php7.0 in production.

I have followed your steps to upgrade to 7.3, but it does not install php7.3

ubuntu@ip-172-31-37-133:~$ sudo apt install php7.3
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘php7.3-ssh2’ for regex ‘php7.3’
Note, selecting ‘php-ssh2’ instead of ‘php7.3-ssh2’
php-ssh2 is already the newest version (1.2+0.13-1+ubuntu16.04.1+deb.sury.org+1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@ip-172-31-37-133:~$

Any ideas?

]]>
By: admin https://www.rosehosting.com/blog/how-to-install-php-7-3-on-ubuntu-16-04/#comment-47810 Thu, 13 Jun 2019 09:11:31 +0000 https://www.rosehosting.com/blog/?p=29220#comment-47810 In reply to Slava.

Hi Slava,

Yes, the line is correct. If you don’t set the locales, you will get a message that the repository is broken with non-UTF-8 locales.

]]>