Wordpress - High-Performance instructionsCurrently, this is available only for CentOS 7 version 0.9.8.741+, soon will be available also for CentOS 6.
Video Instructionshttps://www.youtube.com/watch?v=5PeACKK4Mq4- make sure you have installed php-fpm 7.0, 7.1 or 7.2...you can choose any version.
- rebuild your webservers with
Nginx & Varnish & Apache.
Now we will explain here two types of websites, one is webshop or website with order forms and frequent changes and the other is a company website that doesn't make updates frequently but has a high traffic.
1. webshop (or website with frequent changes).
2. company website (which has no frequent changes but has a high traffic).
1. webshop (or website with frequent changes)* for this kind of website we recommend that the varnish is disabled or has a custom config, please note that by default varnish is always disabled so you will not need to do anything specific here as varnish needs to be additionally enabled even if you run webservers with setup
Nginx & Varnish & Apache.
- default php-fpm configuration for version 7.0, 7.1 or 7.2 will be ok.
- nginx should be enabled and if you have built servers as
Nginx & Varnish & Apache then you are ok.
- Make sure that in left menu
WebServers Settings ->
WebServers Domain Conf config for your domain for apache is set to
nginx -> apache -> php-fpm and
PHP-FPM version is set to 7.0, 7.1 or 7.2.
- if you run WordPress you should install in WordPress cache plugin like "W3 Total Cache".
and you are ready to go, with this kind of setup your site will be able to handle up to 15x more traffic with much higher speed.
2. company website (which has no frequent changes but has a high traffic)* for this kind of website we recommend that varnish is enabled, please note that by default varnish is always disabled so you will need to additionally enabled it even if you run webservers with setup
Nginx & Varnish & Apache.
- default php-fpm configuration for version 7.0, 7.1 or 7.2 will be ok.
- nginx&varnish should be enabled and if you have built servers as
Nginx & Varnish & Apache then you are ok.
- Make sure that in left menu
WebServers Settings ->
WebServers Domain Conf config for your domain for apache is set to
nginx -> varnish -> apache -> php-fpm and
PHP-FPM version is set to 7.0, 7.1 or 7.2. This will activate Varnish and php-fpm.
- if you run WordPress you should install in WordPress cache plugin like "W3 Total Cache".
and you are ready to go, with this kind of setup your site will be able to handle up to 30x more traffic with much higher speed.
YouTube instructions:
https://www.youtube.com/watch?v=5PeACKK4Mq4** Please note that php 7 is recommended here as it's much faster than php 5.--
More detailed info about new cwp webservers
http://forum.centos-webpanel.com/high-performance/cwp-webservers-detailed-info/Custom Templates
http://wiki.centos-webpanel.com/webservers-vhost-templates