Browse Source

Function For OPcache & MemCache

old-stable
Mitesh Shah 11 years ago
parent
commit
89c2529010
  1. 24
      usr/local/sbin/easyengine

24
usr/local/sbin/easyengine

@ -642,16 +642,8 @@ PERMISSIONANDGIT()
EEGITCOMMIT
}
TOTALCACHENGINX()
EEOPMEMCACHE()
{
# Installing W3 Total Cache
cd /var/www/$DOMAIN/htdocs/
echo -e "\033[34m Installing W3 Total Cache Plugin, Please Wait... \e[0m"
wp plugin install w3-total-cache || OwnError "Unable To Install W3 Total Cache Plugin"
# Activate W3 Total Cache
wp plugin activate w3-total-cache $NETWORKACTIVATE || OwnError "Unable To Activate W3 Total Cache Plugin"
# Opcache Settings
if [ ! -d /var/www/shared/opcache ]
then
@ -679,6 +671,20 @@ TOTALCACHENGINX()
fi
}
TOTALCACHENGINX()
{
# Installing W3 Total Cache
cd /var/www/$DOMAIN/htdocs/
echo -e "\033[34m Installing W3 Total Cache Plugin, Please Wait... \e[0m"
wp plugin install w3-total-cache || OwnError "Unable To Install W3 Total Cache Plugin"
# Activate W3 Total Cache
wp plugin activate w3-total-cache $NETWORKACTIVATE || OwnError "Unable To Activate W3 Total Cache Plugin"
# Install Opcahe & Memcache
EEOPMEMCACHE
}
SUPERCACHENGINX()
{
# Installing WP Super Cache

Loading…
Cancel
Save