Skip to content

Commit 2aed208

Browse files
committed
EasyEngine Update Ready
1 parent 932a881 commit 2aed208

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

usr/local/sbin/eeupdate

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,13 @@ EE110()
174174
sed -i '/allow ;/d' /etc/nginx/common/acl.conf
175175
}
176176

177+
PHPUSERINFO()
178+
{
179+
# PHP User
180+
PHPUSER=$(grep ^user /etc/php5/fpm/pool.d/www.conf | cut -d'=' -f2 | cut -d' ' -f2) \
181+
|| OwnError "Unable To Find Out PHP Username"
182+
}
183+
177184
PHP_PACKAGES()
178185
{
179186
# Opcache Settings
@@ -246,7 +253,7 @@ PHP_PACKAGES()
246253

247254
# Setup Anemometer
248255
# Collect MySQL Login Details
249-
MYSQLROOT
256+
MYCNFCHECK
250257

251258
# Setup Anemometer Database
252259
mysql -u $MYSQLUSER -p$MYSQLPASS < /var/www/22222/htdocs/db/anemometer/install.sql \
@@ -331,7 +338,8 @@ INSTALLPMA()
331338
}
332339
EE122()
333340
{
334-
# Install Packages:
341+
# Install Packages
342+
echo -e "\033[34mInstalling php5-xdebug percona-toolkit graphviz, Please Wait...\e[0m"
335343
apt-get -y install php5-xdebug percona-toolkit graphviz
336344

337345

0 commit comments

Comments
 (0)