A day or two ago I downloaded the latest release of raspbian stretch. I am currently busy installing all the components I require for a web server and mysql server. In the latest release, PHP5 has been removed and PHP7.0 has been installed. as far as I know, mysql has also been replaced with MariaDB (I have no idea what this is)
is there a way that I can install PHP5 and the original version of MySQL on the new stretch image?
I have tried adding the following to the /etc/apt/sources.list file and running an apt-get update as suggested at https://www.raspberrypi.org/forums/viewtopic.php?t=195818:
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
Unfortunately, PHP5 still cannot be installed because it cannot find the packages.
I could successfully install PHP7.0 and I then installed MariaDB (apparently) using the normal mysql-server installation method. MariaDB/Mysql worked fine. I could log in with root etc. That was until I installed PHPMyAdmin. After doing this, I could no longer log in with 'root'@'localhost' to the server.
Alas I reinstalled the SD card as all the fixes suggested on the webs resulted in syntax errors and I was not making any traction. Well here we are.
Even a guide on how to get all this shiny new stuff (PHP7.0, MariaDB & PHPMyAdmin) installed and working together would be appreciated. I just hope my application works with the new MariaDB/MySQL thingy as it uses many mysql statements and connections from python. The syntax errors I received while attempting to fix the root access issue is a bit worrying to me and makes me wonder if my python code will work with this new MariaDB MySQL or whatever.
Any help is appreciated.