Best Web Server for Shared Hosting

M7Web

Verified User
Joined
Jul 13, 2019
Messages
95
Hello everyone, everything good? I would like to know which web server is best for shared hosting, and which PHP mode to use.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,335
Location
LT, EU
If you run CloudLinux or LiteSpeed, it'd suggest using lsphp, else - php-fpm. I wouldn't suggest standalone nginx for shared webhosting due to lack of .htaccess support. OpenLiteSpeed is recommended WordPress/Joomla/OpenCart hosting (CMS that they have LSCache plugin for), as it lacks full support of .htaccess too, but should have no issues with mentioned ones, due to RewriteRules support in .htaccess.
 

M7Web

Verified User
Joined
Jul 13, 2019
Messages
95
I currently have phpls on an OpenLiteSpeed server without cloudlinux, do you recommend apache_nginx?

I currently have excessive RAM consumption, I would like to have good performance and low power consumption.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,335
Location
LT, EU
If it uses more RAM than expected - it might be a bug (worth reporting to OLS developers) :) nginx_apache can also be used, but php-fpm is still recommended there, if there is no CloudLinux.
 

VMH-Khan

Verified User
Joined
Jul 17, 2019
Messages
31
For us nginx_apache + CloudLinux + lsphp work very well
Otherwise nginx_apache + php-fpm
 

jayw1

Member
Joined
Nov 20, 2019
Messages
33
Either Nginx + PHP-FPM or OpenLiteSpeed + LSPHP.
I use OLS and the performance is outstanding.
 
Top