Install php5 on Kali Rolling

A weeks ago I tried to install php5 to my laptop. I’m using kali linux rolling version. But php5 was removed from the kali-rolling sources:

[2016-07-12] php5 5.6.22+dfsg-2 removed from kali-rolling (Kali Repository)

So, from some references, I should add the old repository. So I gotta add the old repository to my source list. Edit using nano/vim must be root –> /etc/source.list

and add the repository

deb sana main non-free contrib

then save the file and did “apt-get update” on your command line. Finally it has been fixed.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s