php serial communication in linux

Reindl Harald h.reindl at thelounge.net
Mon Apr 30 08:16:22 UTC 2012



Am 30.04.2012 06:57, schrieb prudhvi09:
> When I send a command directly from the terminal using the command : echo 1 >
> /dev/ttyUSB0 it works and '1' is transmitted to the serial port . But using
> php I get the above warnings . I dont understand where the problem is .  Is
> it a permissions issue ? If not what could be the problem ?

if SELinux is active i would not wonder that httpd can not access
the serial port, however - why are you installing a lammp package
under /opt while fedora has all the needed packages in the default repos?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120430/7180cbe9/attachment.sig>


More information about the users mailing list