This commit is contained in:
Bozhidar Slaveykov 2024-04-01 16:48:47 +03:00
parent da8bb29e1b
commit b37485e643
2 changed files with 1 additions and 2 deletions

View file

@ -18,7 +18,7 @@ NGINX_DESC=phyre-nginx
NGINX_PID=/run/phyre-nginx.pid
NGINX_CONF=/usr/local/phyre/nginx/conf/nginx.conf
PHP_DAEMON=/usr/local/phyre/php/sbin/phyre-php-fpm --allow-to-run-as-root
PHP_DAEMON=/usr/local/phyre/php/sbin/run-phyre-php-fpm.sh
PHP_NAME=phyre-php
PHP_DESC=phyre-php
PHP_PID=/run/phyre-php.pid

View file

@ -127,7 +127,6 @@ cd /usr/local/phyre/web
$PHYRE_PHP -v
$PHYRE_PHP -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
$PHYRE_PHP -r "if (hash_file('sha384', 'composer-setup.php') === 'e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d92e6563bbde02') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
$PHYRE_PHP ./composer-setup.php
$PHYRE_PHP -r "unlink('composer-setup.php');"