Anyone using php_serial.class.php with USB serial port?

jim cinetron-uEvt2TsIf2EsA/PxXw9srA at public.gmane.org
Sat Apr 5 01:52:36 UTC 2008


Thanks Lennart.
> On Thu, Apr 03, 2008 at 11:19:38PM -0400, jim wrote:
> > Strange I discovered that if I run this from the command line as root it
> > works. If I start Firefox even as root and run the program from the
> > browser I get the error ..
> > 
> > Warning: Specified serial port is not valid
> > in /usr/share/php/php_serial.class.php on line 111
> > 
> > I tried changing permissions on the file to give permissions to anyone
> > to execute and you still have to be root in the command line to make it
> > run properly and it still won't run via the browser. Any idea whats
> > going on here?
> 
> What user does your web server run as?  Is that user/group a member of
> whichever group has access to the serial ports?
How do I find this information? I'm using apache.
Jim
> 

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list