I need to install MySQL on my Raspberry Pi but I am having some issues doing it. After some research, I saw that I need to have Apache and PHP installed to be able to have MySQL after, otherwise it wouldn't work.
I followed this tutorial : https://thepi.io/how-to-set-up-a-web-server-on-the-raspberry-pi/ but when I arrive to the step 4 which is install php, it doesn't work.
When I write in the terminal : sudo apt-get install php5
it says
Package 'php5' has no installation candidate
if I write sudo apt-get install php
, it runs it but I don't know how to link it with nginx after that, as I can't follow the tutorial (not the same command)
Would you have some advice ? Thank you