Passing parameters via /usr/bin/env only supports on OSX, so ditched -dphar.readonly=0 and added a warning message if run with incorrect ini setting, also added --compression parameter to compile command.