|
|
@ -187,7 +187,10 @@ PHP_PACKAGES() |
|
|
|
if [ ! -d /var/www/22222/htdocs/cache/nginx ] |
|
|
|
then |
|
|
|
mkdir -p /var/www/22222/htdocs/cache/nginx || OwnError "Unable To Create Nginx Fastcgi Cleanup Directory" |
|
|
|
wget -cqO var/www/22222/htdocs/cache/nginx/clean.php https://raw.githubusercontent.com/rtCamp/eeadmin/master/cache/nginx/clean.php |
|
|
|
|
|
|
|
# Downloading Nginx FastCGI Cleanup Script |
|
|
|
echo -e "\033[34mDownloading Nginx FastCGI Cleanup Script, Please Wait...\e[0m" |
|
|
|
wget -cqO /var/www/22222/htdocs/cache/nginx/clean.php https://raw.githubusercontent.com/rtCamp/eeadmin/master/cache/nginx/clean.php |
|
|
|
fi |
|
|
|
|
|
|
|
# Opcache Settings |
|
|
@ -243,10 +246,10 @@ PHP_PACKAGES() |
|
|
|
echo -e "<?php \n\t phpinfo(); \n?>" &>> /var/www/22222/htdocs/php/info.php |
|
|
|
|
|
|
|
# Fake PHP5-FPM Status Pages |
|
|
|
if [ ! -d /var/www/22222/htdocs/php/status/ ] |
|
|
|
if [ ! -d /var/www/22222/htdocs/fpm/status/ ] |
|
|
|
then |
|
|
|
mkdir -p /var/www/22222/htdocs/php/status/ || OwnError "Unable To Create webgrind Directory" |
|
|
|
touch /var/www/22222/htdocs/php/status/{php,debug} |
|
|
|
mkdir -p /var/www/22222/htdocs/fpm/status/ || OwnError "Unable To Create webgrind Directory" |
|
|
|
touch /var/www/22222/htdocs/fpm/status/{php,debug} |
|
|
|
fi |
|
|
|
|
|
|
|
# Anemometer Setup |
|
|
|