Installing Nginx with PHP support - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Resources (https://community.mybb.com/forum-8.html) +--- Forum: Tutorials (https://community.mybb.com/forum-38.html) +--- Thread: Installing Nginx with PHP support (/thread-147474.html) |
Installing Nginx with PHP support - Rymax99 - 2013-11-03 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-Nginx-with-PHP-support RE: Installing Nginx with PHP support - Cameron:D - 2013-11-03 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. RE: Installing Nginx with PHP support - Rymax99 - 2013-11-03 (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/articles/how-to-optimize-nginx-with-php-pools-on-an-ubuntu-13-04-vps RE: Installing Nginx with PHP support - Cameron:D - 2013-11-03 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. RE: Installing Nginx with PHP support - Rymax99 - 2013-11-03 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). |