MyBB Community Forums

Full Version: Installing Nginx with PHP support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
To new users, installing a new web server is overwhelming. I've created this tutorial due to the fact that there are very good simply tutorials on Nginx. This is a very basic tutorial. Please tell me if there are any errors in the tutorial, as it is pretty long.

http://cyberforums.net/Thread-Setup-Ngin...HP-support
For the most part it seems pretty good, one thing I'd recommend is giving people a quick rundown of configuring php-fpm. Whilst the default settings work, having a note of how to configure the PHP pool to get the most out of your resources would probably be a good idea.
(2013-11-03, 02:22 AM)Cameron:D Wrote: [ -> ]For the most part it seems pretty good, one thing I'd recommend is giving people a quick rundown of configuring php-fpm. Whilst the default settings work, having a note of how to configure the PHP pool to get the most out of your resources would probably be a good idea.
I've never really touched it too much. Do you mean something like this: https://www.digitalocean.com/community/a...-13-04-vps
Yeah, mostly that (although it doesn't really detail the options), depending on how the pool is set up will determine the amount of concurrency you can handle in terms of requests, there are options determining how many threads to start and how many are allows to be running at once.
Ah, yes. Wasn't sure how detailed you meant. I probably won't add that, as I'm trying to keep that simple, there are many more optimizations (i'll probably make a separate tut on disabling logging for things like images, disabling php on sensitive folders (such as in MyBB /uploads, images, etc).