Setup Nginx as web server and as reverse proxy for

2 month atrás
We know that Nginx is more faster than Apache and most of us prefer to replace Apache with Nginx as their web server. Nginx is known to serve faster static content and run with less RAM. As of this writing, Virtualmin supports Apache as its web server. To take advantage of Nginx, we will ...

How To: Solve PHP-FPM server reached max_children

7 month atrás
There are many possible reasons why your PHP-FPM would reach the max_children. Most common ones are: A lot of concurrent site visitors Slow execution of the PHP scripts due to server resources or buggy scripts Very low setting of max_children setting in php-fpm config If you have a busy ...

Example .htaccess Code Snippets

1 ano atrás
Here are some specific examples taken from the Htaccess Guide. Redirect Everyone Except IP address to alternate page [crayon-5a31e26425dc4496131041/] When developing sites This lets google crawl the page, lets me access without a password, and lets my client access the page WITH a password. ...

How To Set Up Project.dev Domains on a Dev Server

4 anos atrás
If you are like me and have been a Web Developer/Programmer for most of your life or even if you are new and just getting started. One of the most important tools you can get and configure is a proper Local Dev Server (Development Server). There are many ways to go about this. One of my ...

Apache with fcgid: acceptable performance and bett

5 anos atrás
Update May 2013: We no longer recommend fcgid ever since Ubuntu Server 12.04 was released. This is because that version has PHP-FPM, which provides every benefit that fcgid has, with the added advantage of a shared opcode cache for all processes. We will be writing a full article on PHP-FPM ...