ronanguilloux / php-gpio

A PHP library to play with the Raspberry PI's GPIO pins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Permissions for Exec

mbalderas opened this issue · comments

Hi,

I have been dealing with the Exec command, and the only way that worked for me was exec('sudo php blinker 17 20000');

It needed the php command, is this a permissions issue? It works fine localy, but through the network it doesn't.

Hello mbalderas,

Can you please elaborate on this: What does "throught the network" means : via ssh ? or when you implement php-gpio in a php-based website ? Have you any detailled examples (pieces of code to share with us), in order to to help you ?

Hello there,

I tkink the php-gpio-web project, that uses php-gpio lib, well explains how you can implement php-gpio in a website, the simple way.