Permissions are not set, pelase provide example
Erfeniuses opened this issue · comments
Erfeniuses commented
Hi There.
I am sorry to bring this up, but could the permissions settings also be addressed here more, because this does not work without them, using Raspberry Pi2 and Jessie 2017 image.
When user starts this from the pure clean jessie image and installs apache2 with php5 pi user loggind in, , GPIO permissions are not right and this does not work. Sudo php index.php does the trick.
I would ask for clean commands on how to make this work.
After Apache2 & PHP installations, I use "sudo chown pi.pi /var/www/html -R" so that I can SFTP stuff in.
Thank you for your considerations.