RE: [PHP] read from comport: windows vs. linux
| From: | Kim Madsen | Date: | Wed, 06 Apr 2005 08:18:22 +0000 |
| Subject: | RE: [PHP] read from comport: windows vs. linux | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-212370@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Jason Wong [mailto:php-general@gremlins.biz]
> Sent: Wednesday, April 06, 2005 9:36 AM
> Well if "other" has "rw" then it doesn't really matter who owns the
> file.
My point exactly!
> What does the php error log say?
Samething as on the site:
"Apr 6 10:16:12 lager httpd: PHP Warning: fopen(/dev/ttyS0): failed to open stream:
Permission denied in /var/www/html/s.php on line 85"
> Are any of the safe mode stuff enabled?
Nops, disabled, cause I use exec() to set the comport speed, parity, stopbits and so...
> Are you running SELinux?
Jeps, that´s installed, but I have no clue, what that is and do. The server with the problem runs
Feodora 3, I´m running RH9 on my own servers.
--
Med venlig hilsen / best regards
ComX Networks A/S
Kim Madsen
Systemudvikler/systemdeveloper