Hi Everyone,
I wrote a small C program for turning on/off the LEDs of the BeagleBone
Green, it works fine when I call it direct from command line. However, when
I try to call it from a PHP code it doesn't work.
I'm using Linux beaglebone 3.8.13-bone71.1 and Apache2. The C program reads
2 arguments from command line (led and onOff) that says which led to
control and its state. The exec line in the PHP code is the
following: exec("/var/www/ledCtl $led $onOff");
Do you have any idea how can I find the reason this call doen'st work from
PHP code?
Thanks in advance.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.