How to Install PHP 5.6 on Debian Stretch 9 Easy Guide

June 26, 2018 | By thelinuxevangelist | Filed in: Tutorial.

Install PHP 5.6 Debian Stretch

You Are Welcome! The Tutorial Shows You Step-by-Step How to Install PHP 5.6 on Debian Stretch 9 32/64-bit 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.

How to Install PHP 5.6 on Debian Stretch 9 - Featured
  1. 1. Launching Terminal

    Open a Terminal window
    (Press “Enter” to Execute Commands)

    How to Install PHP 5.6 on Debian Stretch 9 - Open Terminal Shell Emulator
  2. 2. Enabling PHP Repository

    Add PPA 5.6 Repository for Debian GNU/Linux

    Install PHP Repo for Debian
  3. 3. Installing PHP 5.6

    Then to Install PHP 5.6 on Debian

    sudo apt install php5.6
  4. 4. Setting PHP Version

    (Optional) And to Set PHP 5.6 as Default

    sudo update-alternatives --config php

    If more than One then Simply Choose the Right PHP Release Entry.

  5. 5. Searching PHP 5.6 Extensions

    Again to Search PHP 5.6 Extension on PPA

    grep php- /var/lib/apt/lists/ppa.launchpad.net_ondrej_php*Packages
  6. 6. Installing LAMP PHP 5.6 on Debian

    How to Install LAMP PHP 5.6 on Debian GNU/Linux

    Get LAMP PHP 5.6 Installation Guide
  7. So Now I’m truly Happy if My Guide could Help You to Install PHP 5.6 on Debian Stretch!


Tags: , , , , , , , , , , , , , , , , , , , , , ,