By LS1
I read many post on internet that LEMP + wordpress is faster than LAMP + wordpress. I installed lemp + wordpress using guides on digital ocean.
The results = Nginx is five time slower than apache!
I am not able to find a good solution to make lemp + wordpress work as good as lamp + wordpress.
If anyone knows a solution, help is appreciated.
Thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
HI! A few years back I was the person developing the DO WordPress one-click image and we had heard the same thing so we decided to do some testing ourselves to figure out whether LAMP or LEMP with a totally default Ubuntu provided configuration would perform better on small droplets.
In my testing I found:
LEMP was slightly slower serving WordPress on the smallest droplet sizes. LEMP had slightly higher RAM use than Apache (likely due to the separate process required for fpm)
LAMP had slightly lower resource usage by default but seemed to lose this advantage with more connected clients.
My testing was exclusively about the default Ubuntu configurations on the smallest droplets for a very limited use case but in my experience with Nginx, it’s all about how you optimize your configuration.
Because LAMP uses mod_php and LEMP doesn’t have it, they are forced to use php-fpm, but in terms of speed there is nothing faster than mod_php (except lsphp).
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.