diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 40a53cd1..a690d4ea 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -243,6 +243,9 @@ COMMONPHP() if [ $? -ne 0 ] then + # Move PHP’s Session Storage To Memcache + sed -i "/extension/a \session.save_handler = memcache\nsession.save_path = \"tcp://localhost:11211\"" /etc/php5/mods-available/memcache.ini + # Change PHP Settings sed -i "s/\[PHP\]/[PHP]\n; Easy Engine/" /etc/php5/fpm/php.ini sed -i "s/expose_php.*/expose_php = Off/" /etc/php5/fpm/php.ini