diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 92ec38d2..b73ee383 100755 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -141,7 +141,7 @@ INSTALLPHP() # Install PHP5 echo -e "\033[34m Installing PHP5... \e[0m" sudo $EEAPTGET install php5-common php5-mysqlnd php5-xmlrpc \ - php5-cgi php5-curl php5-gd php5-cli php5-fpm php-apc php-pear \ + php5-cgi php5-curl php5-gd php5-cli php5-fpm php-pear \ php5-dev php5-imap php5-mcrypt || OwnError "Unable To Install PHP5" } @@ -213,7 +213,7 @@ INSTALLALL() # Install Nginx PHP5 MySQL Postfix echo -e "\033[34m Installing Nginx PHP5 MySQL Postfix... \e[0m" sudo $EEAPTGET install nginx-custom php5-common php5-mysqlnd php5-xmlrpc \ - php5-cgi php5-curl php5-gd php5-cli php5-fpm php-apc php-pear \ + php5-cgi php5-curl php5-gd php5-cli php5-fpm php-pear \ php5-dev php5-imap php5-mcrypt mysql-server mysqltuner postfix \ || OwnError "Unable To Install Nginx PHP5 MySQL Postfix" } @@ -232,7 +232,7 @@ REMOVEPHP() # Remove PHP5 echo -e "\033[34m Removing PHP5... \e[0m" sudo $EEAPTGET remove php5-common php5-mysqlnd php5-xmlrpc \ - php5-cgi php5-curl php5-gd php5-cli php5-fpm php-apc php-pear \ + php5-cgi php5-curl php5-gd php5-cli php5-fpm php-pear \ php5-dev php5-imap php5-mcrypt || OwnError "Unable To Remove PHP5" } @@ -271,7 +271,7 @@ REMOVEALL() # Remove Nginx PHP5 MySQL Postfix echo -e "\033[34m Removing Nginx PHP5 MySQL Postfix... \e[0m" sudo $EEAPTGET remove nginx-custom php5-common php5-mysqlnd php5-xmlrpc \ - php5-cgi php5-curl php5-gd php5-cli php5-fpm php-apc php-pear \ + php5-cgi php5-curl php5-gd php5-cli php5-fpm php-pear \ php5-dev php5-imap php5-mcrypt mysql-server mysqltuner postfix \ || OwnError "Unable To Remove Nginx PHP5 MySQL Postfix" } @@ -297,7 +297,7 @@ PURGEPHP() # Purge PHP5 echo -e "\033[34m Purge PHP5... \e[0m" sudo $EEAPTGET purge php5-common php5-mysqlnd php5-xmlrpc \ - php5-cgi php5-curl php5-gd php5-cli php5-fpm php-apc php-pear \ + php5-cgi php5-curl php5-gd php5-cli php5-fpm php-pear \ php5-dev php5-imap php5-mcrypt || OwnError "Unable To Purge PHP5" } @@ -321,7 +321,7 @@ PURGEALL() # Purge Nginx PHP5 MySQL Postfix echo -e "\033[34m Removing Nginx PHP5 MySQL Postfix... \e[0m" sudo $EEAPTGET purge nginx-custom php5-common php5-mysqlnd php5-xmlrpc \ - php5-cgi php5-curl php5-gd php5-cli php5-fpm php-apc php-pear \ + php5-cgi php5-curl php5-gd php5-cli php5-fpm php-pear \ php5-dev php5-imap php5-mcrypt mysql-server mysqltuner postfix \ || OwnError "Unable To Purge Nginx PHP5 MySQL Postfix" } @@ -631,15 +631,6 @@ TOTALCACHENGINX() # Activate W3 Total Cache wp plugin activate w3-total-cache $NETWORKACTIVATE || OwnError "Unable To Activate W3 Total Cache Plugin" - - # APC Settings - if [ -f /usr/share/doc/php-apc/apc.php ] - then - cp -v /usr/share/doc/php-apc/apc.php /var/www/$DOMAIN/htdocs/apc.php || OwnError "Unable To Copy APC" - elif [ -f /usr/share/doc/php-apc/apc.php.gz ] - then - cp -v /usr/share/doc/php-apc/apc.php.gz /var/www/$DOMAIN/htdocs/apc.php || OwnError "Unable To Copy APC" - fi } SUPERCACHENGINX()