Installing php with lighttpd on Debian and Raspbian Stretch
For most cases the recommended web server for the Raspberry Pi is lighttpd. But when I entered the command sudo apt-get install php
to add php to the Pi, I was surprised to find apache2 was a dependency of php7. I didn’t need apache2. I wasn’t sure if it would interact with lighttpd and I didn’t need all the code that came with it. I partly understand the reasoning but it didn’t solve my problems. I did some Google searches and found a few out-dated how-tos so I collected the current steps here. (more…)