Installing
-
2. Installing PHP 5
How to Install PHP 5.6 on Kali GNU/Linux
-
3. Installing LAMP
Then to Install Complete LAMP Stack.
sudo apt install apache2 mysql-server php5.6-mysql
If Got “User is Not in Sudoers file” then see: How to Enable sudo
-
4. Installing PHP Apache
And for Installing the PHP 5.6 Apache Module.
sudo apt install libapache2-mod-php5.6
Please note that this package ONLY works with Apache’s prefork MPM, as it is not compiled thread-safe.
How to Enable Apache2 mod_rewrite Module on Kali Linux.
Contents