Posted by haunted on February 28, 2015 at 8:35pm
Hello people, i run my drupal 7 site on a VPS with 1GB of ram with a LAMP stack. I would like to switch to nginx and php-fpm because people keep saying that php-fpm saves a lot of memory compared to apache mod_php.
Unfortunately, the last time I tried, i did not have much success. I had the cpu overloaded, or soimetimes "page not found" for some pages pages, or max-children limit reached in logs.
To set up nginx i used this example http://wiki.nginx.org/Drupal and nginx itself worked, but I could not configure php-fpm well for my server, despite having read various tutorials here and there.
Any advice? Thanks
Comments
Perusio
Hi
Use perusio's tutorial and git repo. I got into a bit of trouble with virtual hosts but it turned out i was overthinking it!
If you can start with a vanilla vps it will probably help. Here is also a good article based around perusio's config
http://komelin.com/en/5tips/right-nginx-configuration-drupal-ubuntu
Thanks for the tip, I'll test
Thanks for the tip, I'll test it.