GNU/Linux Debian Enabling PHP 5.6 Repository Guide
Hi! This Tip shows you How to Enable PHP 5.6 Repository for Debian-based GNU/Linux Systems.
And this PHP 5.6 Debian Repo Setup is needed from Debian Stretch 9 Releases.
Furterhmore, this Guide is valid for all the Debian Linux Based Distros like:
- Debian
- Kali Linux
- Deepin Linux
- MX Linux
- antiX Linux
- Parrot Linux
- SparkyLinux
- MakuluLinux
- Elive Linux
- LMDE Linux
- CrunchBang Linux
- Parsix Linux
-
1. Launching Terminal
Open a Terminal window
(Press “Enter” to Execute Commands) -
2. Installing Dependencies
Then Install Required Packages with:
sudo apt install apt-transport-https lsb-release ca-certificates
-
3. Getting GPG Key
Next to Import GPG Key.
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
-
4. Adding PHP 5.6 Repo
Again to Add PHP 5.6 Repository.
su -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" >> /etc/apt/sources.list.d/php.list'
Possibly Check for a New Repo Entry directly Browsing the Repo.
-
5. Updating Sources
Finally, to Update Apt Packages Sources.
sudo apt update
-
6. Installing PHP 5.6
How to Install and Setup PHP 5.6 on Debian Based
So Now I’m truly Happy if My Guide could Help you to Add PHP 5.6 Repo on Debian Based!