|
|
@ -174,6 +174,13 @@ EE110() |
|
|
|
sed -i '/allow ;/d' /etc/nginx/common/acl.conf |
|
|
|
} |
|
|
|
|
|
|
|
PHPUSERINFO() |
|
|
|
{ |
|
|
|
# PHP User |
|
|
|
PHPUSER=$(grep ^user /etc/php5/fpm/pool.d/www.conf | cut -d'=' -f2 | cut -d' ' -f2) \ |
|
|
|
|| OwnError "Unable To Find Out PHP Username" |
|
|
|
} |
|
|
|
|
|
|
|
PHP_PACKAGES() |
|
|
|
{ |
|
|
|
# Opcache Settings |
|
|
@ -246,7 +253,7 @@ PHP_PACKAGES() |
|
|
|
|
|
|
|
# Setup Anemometer |
|
|
|
# Collect MySQL Login Details |
|
|
|
MYSQLROOT |
|
|
|
MYCNFCHECK |
|
|
|
|
|
|
|
# Setup Anemometer Database |
|
|
|
mysql -u $MYSQLUSER -p$MYSQLPASS < /var/www/22222/htdocs/db/anemometer/install.sql \ |
|
|
@ -331,7 +338,8 @@ INSTALLPMA() |
|
|
|
} |
|
|
|
EE122() |
|
|
|
{ |
|
|
|
# Install Packages: |
|
|
|
# Install Packages |
|
|
|
echo -e "\033[34mInstalling php5-xdebug percona-toolkit graphviz, Please Wait...\e[0m" |
|
|
|
apt-get -y install php5-xdebug percona-toolkit graphviz |
|
|
|
|
|
|
|
|
|
|
|