Re: php serial communication in linux

2012-04-30 Thread prudhvi09
i haveput SElinux in permissive mode and tried it dint work. with the code below it worked Can u tell me why is it not working with serial class? -- View this message in context: http://fedora.12.n6.nabble.com/php-serial-communication-in-linux-tp4938590p4942953.html Sent from the Fedora List ma

Re: php serial communication in linux

2012-04-29 Thread 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 ? -- View

Re: php serial communication in linux

2012-04-29 Thread prudhvi09
hey thanks a lot guys ..sorry to bother you again . i was opening the file directly from browser from the location htdocs ...i changed the file location to htdocs/xampp and it has started executing but there are some warnings http://fedora.12.n6.nabble.com/file/n4939982/image.png ... I have

php serial communication in linux

2012-04-29 Thread prudhvi09
I have installed xampp in fedora 13.I am trying to communicate with microcontroller through serial port using php serial class. My code is example.php http://fedora.12.n6.nabble.com/file/n4938590/example.php example.php .On opening example.php through firefox the code is being displayed again as sh