Install PHP 5.6 Debian Stretch
Hi! The Tutorial shows you Step-by-Step How to Install PHP 5.6 on Debian Stretch 9 GNU/Linux.
And to get the PHP 5.6 Debian Stretch Installation, you have to Manually Setup the Debian Apt PPA Repository.
Finally, this PHP 5.6 PPA includes also All the most Useful Extensions for PHP usage.
-
1. Launching Terminal
Open a Terminal window
(Press “Enter” to Execute Commands) -
2. Enabling PHP Repository
Add PPA 5.6 Repository for Debian GNU/Linux
-
3. Installing PHP 5.6
Then to Install PHP 5.6 on Debian.
sudo apt install php5.6
-
4. Setting PHP Version
(Optional, for managing multiple Versions) And to Set PHP 5.6 as Default.
sudo update-alternatives --config php
And then Choose the Right PHP release ID.
-
5. Searching PHP 5.6 Extensions
Again to Search PHP 5.6 Extensions.
grep php- /var/lib/apt/lists/ppa.launchpad.net_ondrej_php*Packages
-
6. Installing LAMP PHP 5.6 on Debian
How to Install LAMP with PHP 5.6 on Debian GNU/Linux
So Now I’m truly Happy if My Guide could Help you to Install PHP 5.6 on Debian Stretch!