Downgrade PHP 7.X to 5.X
Hey guys, i wanted to use DVWA (Damn Vulnerable Web Application) to try and test SQL-Injections on my own "server", but after following several tutorials i am stuck at some point.
I managed to open the http://localhost/ website and i am able to select the DVWA Folder, but when i click on it, it says: The Connection was reset!
Up to this point I installled apache2, mysql-server, mysql-client, php5 php5-mysql php-pear, php5-gd like it is said in the README of DVWA and then started mysql, set up a password and configured the config file of DVWA to that password. I also restarted mysql and apache2.
But in the README it says, that PHP v7.0 or later are not supported. So i used php -v to check, and it says that i have PHP v7.0.11-1!
So how do i downgrade PHP from v7.0.11-1 to a version, which compatible with DVWA?
Thanks in Advance! (Im asking this for Kali and/or Fedora..)
https://github.com/remicollet/remirep...