Apache Web Server for High Load and Performance using PHP-FPM


We require to setup a high performance Apache Server which can also deal with a large amount of simultaneous connections. During our research we decided to use: Apache, PHP-FPM and Centos 7. During testing and research we also decided to use the Apache Handler MPM-EVENT as it showed a improvement in performance.

The customer in question for this project was posting links to his web site from a YouTube channel with over 1 million subscribers so a standard built of Apache just fell over.

Important notice for customers with accounts on orange.ukhost4u.com

Over the past few days you may have noticed several outages on our orange.ukhost4u.com server. These outages have been as a result of an incoming DDOS (Distributed Denial of Service) attack which caused the primary IP of the server to be temporarily null routed by one of our transit providers.

Since the attack has returned on several occasions, we have to take measures to identify the target. Therefore we are separating all accounts on this server into different groups, each with a unique IP address. If the attack returns, we can narrow down the list of websites that could potentially be the target based on IP address.

cPanel User Guide – Metrics



The metrics section allows the user to view useful statistics about usage, visitor access, bandwidth, and several other areas. This can be useful when determining where users are accessing your website from,


This interface shows a list of the domains currently on the user’s server, and allows the user to select a domain and view detailed information about the last 1000 visitors to that domain.

This helps the user learn about the audience and frequent visitors.

The interface displays information such as the visitor’s IP address, the time when the user accessed the website, and the specific URL that the visitor accessed.

The additional data interface shows information about the HTTP status code, the request-response method used between client and server (e.g POST or GET), and the version of HTTP that the server used to serve the visitor with resources.



This interface displays up to 300 of the most recent entries into Apache’s error logs in reverse chronological order.


This interface allows the user to see the bandwidth usage of the user’s site. This includes the current month’s bandwidth, and total bandwidth usage. This also includes web and mail bandwidth usage, as well as FTP bandwidth usage if the logging is enabled.

The interface has graphs in the following format for the past 24 hours, the past week, and the past year as well as pie charts displaying the bandwidth of the different data transfer protocols in the following format:

*The example is a fresh server with only HTTP transfers.


Raw Access

This interface allows the user to configure and download Raw Access logs, which are system logs containing information about who has visited your website without displaying graphs or other graphics.

The Configure Logs section allow the user to choose whether to archive the logs in the user’s home directory at the end of each stats run every 24 hours, or to remove the previous month’s archived logs from the home directory at the end of each month. It is important to remember that the Raw Access Logs will be deleted after they are processed and therefore may only contain a few hour’s worth of data, if they are not archived.

The user can download logs from any domain name of their choosing, or download from a previously archived log archive.




This interface displays network traffic statistics from the Advanced Web Statistics software, which compiles how users access your website.

AWStats displays the following details about your website’s visitors:

  • Monthly, daily, and hourly averages in graphs and tables.
  • The links through which visitors access your website.
  • HTTP codes.
  • Operating systems.
  • Browser information.
  • Locales of originnew-blog-01-20Analog Stats

This interface allows the user to view a summary of traffic statistics for their domain, organized by month with additional graphics such as graphs and pie charts.

This is similar to AWstats, however it is much simpler as it presents less information and is laid out in a simpler way, and can be useful to see a summary of where your main users are from.

Below is an example screeenshot of a portion of an Analog Stats screen:




This interface allows the user to view a limited summary of network traffic statistics, organized by month, displayed in a graph and accompanying table.

Below is a screenshot of a portion of a Webalizer screen:


Webalizer FTP