Socket backlog tuning for apache

5 anos atrás
With more clients moving to the mobile world web traffic changes somewhat and new challenges rise. One particular challenge related to the fact that mobile customers are not as fast as broadband ones and they create all kinds of problems related to big roundtrip latency. One of the problems ...

Setup Nginx as web server and as reverse proxy for

6 anos 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 ...

Strip Down Apache to Improve Performance & Me

6 anos atrás
Can you believe that its been 5 years since the release of Apache 2.4?! Still, most Apache based web servers continue to run Apache version 2.2 or even 2.0. This is understandable for the same reasons why Apache web servers are still used more than Nginx… compatibility, official support and ...

How To: Solve PHP-FPM server reached max_children

7 anos 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

7 anos atrás
Here are some specific examples taken from the Htaccess Guide. Redirect Everyone Except IP address to alternate page [crayon-65f90e9ac255f393665603/] 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

11 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

11 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 ...