Nginx or Apache & Best PHP Handler for Wordpress Sites

TooCorny

Senior Member
Joined
Sep 9, 2018
Messages
1,116
Reaction score
519
Hello there guys,

I am reading some documentation about nginx and apache on plesk forums and I see some contrary information about nginx and apache.

Everybody says that nginx loads websites faster but on the other side some say that tapache might be better for wordpress to avoid incompatibilities and all.

Apart from that which handler would you recommend for php 8.2 - Fast CGI or FPM

Regarding Nginx caching settings, is there any additional settings o directives I should apply to improve performance?

Would you recommend using ngix caching with wp rocket?

Thanks
 
Apache for the win. Better feature in terms of core web vitals optimization. Nginx can't even support webp conversion unless you have a server guy who knows how to configure it.
 
Apache for the win. Better feature in terms of core web vitals optimization. Nginx can't even support webp conversion unless you have a server guy who knows how to configure it.
Thanks man! Apart from that I have FPM handler, do you think it is better than fast-cgi?
 
Apache is much better in many terms. Speed is not one of them :D

Thanks man! Apart from that I have FPM handler, do you think it is better than fast-cgi?
php-fpm is better in terms of stability if server is configured correctly for workers. It may become unstable if you have many concurrent connections and low number of workers.
 
Nginx and Apache are both popular web servers used to host websites. Nginx is known for its performance and scalability, while Apache has a more established ecosystem and a wider range of modules and extensions.

For WordPress sites, the best PHP handler would be either FastCGI Process Manager (FPM) or PHP-FPM.
 
You can use both. Nginx + Apache. It’s said to be the best performing. CWP panel has this setup and it’s the highest performance grade.
 
You can use both. Nginx + Apache. It’s said to be the best performing. CWP panel has this setup and it’s the highest performance grade.
I think I do have both, I do not understand it fully but I have and nginx reverse proxy and I cal also configure am apache handler.

would that be the best setup? With nginx cachimg
 
I would recommend to use APACHE + nginx both, nginx as reverse proxy and apache to handle background process.
cPanel now have built-in support for nginx but i would recommend to use Engintron instead.
if you are looking for free setup then AApanel should be your choice.
 
I would recommend to use APACHE + nginx both, nginx as reverse proxy and apache to handle background process.
cPanel now have built-in support for nginx but i would recommend to use Engintron instead.
if you are looking for free setup then AApanel should be your choice.
I am actually using plesk, I do have a reverse proxy for nginx setup and nginx cache available.

Would you mind If I dm you for a few questions related to this matter?
 
I'd use nginx as a reverse proxy and PHP-fpm. Tried and tested for high-traffic websites. Easy to configure.
 
I study both heavy and apache wins hands down.

Php run with apache side via side 100%
 
well actually NGINX with Apache (using it as a reverse proxy) is not much good, though it might can speed up websites with its cache, still for best optimal performance would recommend litespeed web server, or a good configured apache with PHP will do fine too.
 
Back
Top