Skip to content

Instantly share code, notes, and snippets.

@niallmerrigan
Created September 26, 2017 07:49
Show Gist options
  • Save niallmerrigan/06bd0ea91ec73f12e42184067bc5ea6a to your computer and use it in GitHub Desktop.
Save niallmerrigan/06bd0ea91ec73f12e42184067bc5ea6a to your computer and use it in GitHub Desktop.
echo 'deb http://old.kali.org/kali sana main non-free contrib' >> /etc/apt/sources.list
apt-get update
apt-get -y install php5 libapache2-mod-php5 php5-mysql php5-curl php5-gd php5-intl php5-imap php5-mcrypt php5-pspell php5-recode php5-tidy php5-xmlrpc php5-xsl
a2dismod php7.0 ; sudo a2enmod php5 ; sudo service apache2 restart
service mysql start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment