Control Web Panel

WebPanel => Installation => Topic started by: Kyzoehosting on July 19, 2019, 01:16:58 PM

Title: What is the best setup for high performance WP + .htaccess
Post by: Kyzoehosting on July 19, 2019, 01:16:58 PM
Hello,

We are exploring the possibilities for using CWP on VPS servers for our clients, while 99% procent of the clients run WP we are looking for the fastest setup to host WP sites. BUT yes there is a BIG BUT:

We need to be able to use .htaccess files

What would be your preffered set-up, and do you have a tutorial for me.

Peter
Title: Re: What is the best setup for high performance WP + .htaccess
Post by: ring_c on July 19, 2019, 04:02:53 PM
Nginx + Varnish + Apache.
Here's how: https://www.youtube.com/watch?v=5PeACKK4Mq4 (https://www.youtube.com/watch?v=5PeACKK4Mq4)
Works great for me and my clients.
Title: Re: What is the best setup for high performance WP + .htaccess
Post by: Sandeep on July 19, 2019, 08:17:36 PM
NGinx + apache + php-fpm with php 7.xx apcu and opcache enabled.
Title: Re: What is the best setup for high performance WP + .htaccess
Post by: Kyzoehosting on July 20, 2019, 04:55:18 AM
Thanks, For the comments. In this case htaccess will keep working?
Title: Re: What is the best setup for high performance WP + .htaccess
Post by: Igor S. on July 20, 2019, 06:47:49 AM
Yes, .htaccess will working.
But I would recommend using nginx rules instead of .htaccess and install nginx+PHP-FPM 7.x
Title: Re: What is the best setup for high performance WP + .htaccess
Post by: Kyzoehosting on July 21, 2019, 11:09:50 AM
Why would that be, and what are the advantages for this setup.

Maybe for your info:

The setup will be used mainly for WordPress at a VPS which run max. 10 sites.

Our test server, will run a few WP sites, then also our support ticket system and WHMCS.
Title: Re: What is the best setup for high performance WP + .htaccess
Post by: ring_c on July 21, 2019, 11:40:21 AM
NGinx + apache + php-fpm with php 7.xx apcu and opcache enabled.
You don't recommend using Varnish?
Title: Re: What is the best setup for high performance WP + .htaccess
Post by: Igor S. on July 22, 2019, 09:58:54 AM
I do not like Varnish (stupid thing) and would not recommend it. Especially you do not have a lot of RAM :)