

Repair & optimize databases then restart MySQL: mysqlcheck -check -auto-repair -all-databases Go to WHM » Service Configuration » “PHP Configuration Editor” and set the parameters according to your needs:įor MySQL you need to update the configuration file that usually in /etc/my.cnfīest config base on 2 core & 4GB memory MySQL 5.6 \ MariaDB 10: īest config base on 8 core & 16GB+ memory (Shared server) MySQL 5.6 \ MariaDB 10: Header set Cache-Control "max-age=3600, must-revalidate"īrowserMatch ^Mozilla/4 gzip-only-text/html Header set Cache-Control "max-age=3600, public, must-revalidate" Header set Cache-Control "max-age=3600, public" # Cache Control Settings for one hour cache Now go to WHM » Service Configuration » Apache Configuration » Include Editor » “Pre VirtualHost Include” and allow users minimal cache and data compression to allow the server to work less for the same things by pasting the code below into the text field. Apache Directive (From 2GB memory or less and to 12GB+ memory) * In step 5 “Exhaustive Options List” selectĪfter Easy Apache finished go to your WHM » Service Configuration » Apache Configuration » “Global Configuration” and set the values by the level of resources available on your server. In the first stage we run the Easy Apache and selected the following:

We think that with the correct settings of Apache and MySQL you can get excellent results and the correct level of resource use without installing third-party proxy and cache modules. On this optimization process we will go over the Apache core configuration and modules that are part of Apache core.
