PHP is currently using the 'cgi' interface. Make sure it is using the 'cli' interface.