Serial communication with php

DIO (latest beta version) works well for me with Arduino, not using Mac however, YMMV.