diff --git a/menu.sh b/menu.sh index 326abb1..991d213 100644 --- a/menu.sh +++ b/menu.sh @@ -5,7 +5,7 @@ source /etc/functions.sh -RESULT=$(dialog --stdout --default-item 1 --title "Ultimate Crypto-Server Setup Installer v1.44" --menu "Choose one" -1 60 6 \ +RESULT=$(dialog --stdout --default-item 1 --title "Ultimate Crypto-Server Setup Installer v1.45" --menu "Choose one" -1 60 6 \ ' ' "- For small private pools -" \ 1 "YiiMP - Single Server" \ ' ' "- If you plan on adding more servers later -" \ diff --git a/nginx_upgrade.sh b/nginx_upgrade.sh index 8dc9a76..69a617a 100644 --- a/nginx_upgrade.sh +++ b/nginx_upgrade.sh @@ -26,5 +26,5 @@ sudo rm -r /etc/nginx/sites-available/default sudo rm -r /etc/nginx/sites-enabled/default echo -e "$GREEN NGINX upgrade complete...$COL_RESET" restart_service nginx -restart_service php7.2-fpm +restart_service php7.3-fpm cd $HOME/multipool/yiimp_single diff --git a/web.sh b/web.sh index d763738..1baf93d 100644 --- a/web.sh +++ b/web.sh @@ -114,7 +114,7 @@ server { location ~ ^/index\.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; + fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; @@ -150,7 +150,7 @@ sudo ln -s /etc/nginx/sites-available/${DomainName}.conf /etc/nginx/sites-enable sudo ln -s $STORAGE_ROOT/yiimp/site/web /var/www/${DomainName}/html restart_service nginx -restart_service php7.2-fpm +restart_service php7.3-fpm if [[ ("$InstallSSL" == "y" || "$InstallSSL" == "Y" || "$InstallSSL" == "yes" || "$InstallSSL" == "Yes" || "$InstallSSL" == "YES") ]]; then echo -e " Installing LetsEncrypt and setting up SSL...$COL_RESET" @@ -269,7 +269,7 @@ server { location ~ ^/index\.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; + fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; @@ -297,7 +297,7 @@ server { fi restart_service nginx -restart_service php7.2-fpm +restart_service php7.3-fpm else echo 'include /etc/nginx/blockuseragents.rules; @@ -378,7 +378,7 @@ server { location ~ ^/index\.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; + fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; @@ -414,7 +414,7 @@ sudo ln -s /etc/nginx/sites-available/${DomainName}.conf /etc/nginx/sites-enable sudo ln -s $STORAGE_ROOT/yiimp/site/web /var/www/${DomainName}/html restart_service nginx -restart_service php7.2-fpm +restart_service php7.3-fpm if [[ ("$InstallSSL" == "y" || "$InstallSSL" == "Y" || "$InstallSSL" == "yes" || "$InstallSSL" == "Yes" || "$InstallSSL" == "YES") ]]; then echo -e " Installing LetsEncrypt and setting up SSL...$COL_RESET" @@ -532,7 +532,7 @@ server { location ~ ^/index\.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; + fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; @@ -560,7 +560,7 @@ server { fi restart_service nginx -restart_service php7.2-fpm +restart_service php7.3-fpm fi echo -e " Creating YiiMP configuration files...$COL_RESET"