changed Composer install to 'deploy' user
inserted PHP guard