This project consists of a Raspberry Pi running Raspbian OS. It runs HTTPD with index.php as the source. The PHP has many functions but this device driver is specifically to see the GPIO status of all pins in a picture format.
Here’s a related topic which contains the PHP file needed. I didn’t want to keep a copy in two places so pick up index.php from this post:
Use the TEST button first to make sure that you install a required graphic component for PHP called php5-gd. Once my app senses that this component exists, it will populate the image tile. Otherwise the TAKE button will not work and not return an image as expected.