Using PHP in both Windows, OSX and linux to control an RS232 or RS422/485 serial port
This article describes how to open a serial port using a PHP script. The PHP script takes advantage of the PHP Direct IO extension which allows low level access to resources. To read this article in full see the FAQ: Serial Comms in PHP.