PHP Engines Improvements

The error handling of our PHP engines has been improved and the engines have been updated to the latest version.