Issue #2049983 by Darren Shelley: Fixed Improve error reporting when PHP lacks POSIX support.
Enable testing of php 5.4 on travis