Update multi-php-install.sh

This commit is contained in:
myvesta 2023-12-28 21:42:09 +01:00 committed by GitHub
parent f344c0b1d5
commit f39dc8edce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -365,6 +365,8 @@ fi
if [ -f "/usr/share/phpgate/phpgate.php" ]; then if [ -f "/usr/share/phpgate/phpgate.php" ]; then
echo "=== upgrading phpgate" echo "=== upgrading phpgate"
/usr/local/vesta/bin/v-commander 'm' 'inst pgw' 'q' /usr/local/vesta/bin/v-commander 'm' 'inst pgw' 'q'
echo "=== upgrading phpgate done."
echo ""
fi fi
if [ -f "/usr/local/bin/tailf_apache_error.php" ]; then if [ -f "/usr/local/bin/tailf_apache_error.php" ]; then
@ -383,4 +385,6 @@ if [ -f "/usr/local/bin/tailf_apache_error.php" ]; then
# ps -Af | grep 'tailf_apache_error' | grep -v "grep tailf_apache_error" # ps -Af | grep 'tailf_apache_error' | grep -v "grep tailf_apache_error"
# sleep 1 # sleep 1
nohup php /usr/local/bin/tailf_apache_error.php > /var/log/tailf_apache_error.log & nohup php /usr/local/bin/tailf_apache_error.php > /var/log/tailf_apache_error.log &
echo "=== upgrading tailf_apache_error.php done."
echo ""
fi fi