Updated PHPEngine for compilation options and extra logs