JeremyLaurenson Posted March 1, 2007 Share Posted March 1, 2007 I have installed the WiSH project that gives me device access to X10 powerline lights ala home control. I now want to control the lights from a web server (php). How can I essentially do this: echo off > /dev/x10/e3 In PHP - bearing in mind this is a device in the dev directory... Iv tried all the usual suspects. Link to comment https://forums.phpfreaks.com/topic/40740-nee-to-be-able-to-write-to-devx10e3/ Share on other sites More sharing options...
effigy Posted March 1, 2007 Share Posted March 1, 2007 I assume devices have users and groups just like all other aspects of the Unix filesystem; I haven't gotten that far. What is the user/group/permissions of this device? The group that Apache runs under will need write access to the device. Link to comment https://forums.phpfreaks.com/topic/40740-nee-to-be-able-to-write-to-devx10e3/#findComment-197251 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.