How to install php 5 on Debian 10?
10,490
Ideally, you don't. PHP 5.6 reached end-of-life in December 2018.
For the time being, deb.sury.org still has builds of PHP 5.6 available. However, these builds will only be available as long as Microsoft continues to maintain the upstream repository, so you should take immediate steps to make your code run on current versions of PHP.
If the code you are running is supplied by a third party and no updates for PHP 7 compatibility are available, start looking for alternatives. PHP 7 has been available since 2015; a failure to provide updated code for 4+ years is a sign that the application is not being maintained appropriately.
Related videos on Youtube
Author by
Kostya R
Updated on September 18, 2022Comments
-
Kostya R almost 2 years
I need advice how to install php5 on this os. There is only php7 package available, but for my system php5 is required.
-
ceejayoz almost 5 yearsNo versions of PHP 5 are currently supported. Time to put in the work to upgrade. php.net/supported-versions.php
-
Kostya R almost 5 yearsthe web application I use only supports php 5 unfortunately
-
ceejayoz almost 5 years"Time to put in the work to upgrade."
-