Sorry if this is off topic, but I was wanting to do some coding to grab and interpret data from my Pi running 3.8.0~bpo9+1 just for a bit of fun, e.g. a local web page showing the closest aircraft, height heading etc (so when you hear something going past nearby you can quickly see what it is).
I have setup 3 Pis before and every time setting up PHP has been a total nightmare/“journey of discovery” (not helped by The Pi Foundation’s own instructions not working - 3 separate times) . I managed to get PHP working on my Pi running FlightAware, only it killed PiAware (well the User Interface, as I think it upset lighttpd and Apache had stomped on it).
I actually have PHP is installed but then I get the dreaded “forbidden” when trying to run a “Hello world” script (the same on thing every time I tried to set up PHP). I’ve changed permissions until I’m blue in the face but nothing I have seen suggested online has worked. I’m very reticent to make changes to that Pi as I don’t want to have too restore the image if I can help it.
Does anybody have any suggestions please, I’m at my wits end with Raspberry Pis - they are supposed to be a learning tool: not learning to hate what is actually a great little device.
Thanks in anticipation; if I get something working I’ll post the results online (if anybody cares for that)