I am having difficulties executing php file through apache on to /dev/ ttyACM0 device, example (http//localhost/myphp.php).
The file suppose to send text message through /dev/ttyACM0. But i get permission denied. Through Terminal I can execute php using (php myphp.php), it will run without problem.
I gave chmod 777 to /dev/ ttyACM0. And chown apache user on /dev/ ttyACM0, but still permission denied.
It seems to me permission restricted on apache to run /dev/ ttyACM0.
How can i solve this ?