Installing PHP
-
2. Enabling PHP 5.6 Repository
Add PHP 5.6 Repo for Kali GNU/Linux
-
3. Installing PHP 5.6
Now to Install PHP 5.6 for Kali.
sudo apt install php5.6
-
4. Switching PHP Version
Finally, to Switch between PHP Versions.
sudo update-alternatives --config php
Make Selection and Press ‘Enter’ to Confirm!
Contents