Optimized Apache/PHP Modules for Interspire Shopping Cart

Based on Apache 2.4.23 / PHP 5.3.29

Apache

Deflate
Expires
Headers
MPM Prefork
Proxy
UniqueId
Mod Security 2.9.0
Suhosin 0.9.33 for PHP
XCache 3.2.0 for PHP

PHP

CGI
Calendar
CurlSSL
FTP
GD
Iconv
Imap
MBstring
Mcrypt
Mysql
MySQL "Improved" extension
OpenSSL
PDO
PDO MySQL
POSIX
Pear
Phar
Pspell
SOAP
SQLite3
Sockets
Zlib

XCache Optimized Settings

php.ini location for cPanel

/usr/local/lib/php.ini

Settings based on 4-Core CPU

xcache.admin.enable_auth="on"
xcache.admin.pass=""
xcache.admin.user="root"
xcache.cacher="On"
xcache.coredump_directory=""
xcache.count="4"
xcache.coveragedump_directory="/tmp/pcov/"
xcache.coverager="Off"
xcache.gc_interval="0"
xcache.mmap_path="/dev/zero"
xcache.optimizer="On"
xcache.readonly_protection="Off"
xcache.size="128M"
xcache.slots="8K"
xcache.test="Off"
xcache.ttl="0"
xcache.var_count="4"
xcache.var_gc_interval="300"
xcache.var_maxttl="0"
xcache.var_size="0"
xcache.var_slots="8K"
xcache.var_ttl="0"

HowTo Enable Perfect Forward Secrecy (PFS) in cPanel

Update SSLCipherSuite as below:

ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128:AES256:AES:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK

Edit Apache Configuration > Include Editor > Pre Main Include > All Versions

SSLHonorCipherOrder On
SSLProtocol -All +TLSv1 +TLSv1.1 +TLSv1.2

Verify at

eAccelerator Optimized Settings

php.ini location for cPanel

/usr/local/lib/php.ini

eAccelerator caching in SHM only. SHM size = All scripts total sizes.

eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.check_mtime="1"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.debug="0"
eaccelerator.enable="1"
eaccelerator.filter=""
eaccelerator.optimizer="1"
eaccelerator.shm_max="0"
eaccelerator.shm_only="1"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_size="128"
eaccelerator.shm_ttl="0"