How to Enable and Customize PHP-FPM Directives/Pool for a Domain or Server Wide :: cPanel

What is PHP-FPM?

PHP FastCGI Process Manager (PHP-FPM) is an alternative FastCGI daemon for PHP that makes a website capable of handling strenuous loads. By setting specific amounts of resources, it even allows a host to process a domain’s requests. To accomplish this, the PHP-FPM maintains “pools” (workers available to respond to PHP requests) where these “pools” of workers allow the website to handle more requests than it normally could.

PHP-FPM is faster than traditional CGI-based methods such as SUPHP for multi-user PHP environments. It does not overload a system’s memory with PHP from Apache processes as ruid2+php-dso does. This method is useful when a user receives extra traffic that requires resources to process it. For example, your website may receive a spike in traffic after a TV show features it or is linked from a popular website.

Continue reading…

Forcefully refreshing disk space usage directly from cPanel

If user disk space usage is reflected incorrectly in cPanel, there is a way to force refresh the disk quota of cpanel directly from cPanel.

We will be able to remedy this by refreshing the cPanel cache for this user. This can be done by removing the /home/username/.cpanel/datastore directory, which will be recreated upon the next access of that account’s cPanel.

========
1. Login to cpanel->file manager -> ensure show hidden file is enabled.
2. Go to /home/username/.cpanel
3. Rename datastore/ to something else
4. Then click disk space usage, it will force refresh the usage
========

If you require help, contact SupportPRO Server Admin 

Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value

ConfigServer Mail Queue on WHM/Cpanel Server

The Config Server Mail Queue is an addon feature available with cPanel/WHM which provides with a full-featured interface to the cPanel exim email queues from within WHM. The add-on feature provides with an interface to the cPanel user accounts email configuration without having to log in to their accounts. It is domain-based rather than account-based.

Features

  • View, edit and delete email accounts, email forwarders and email filters.
  • View and modify email account quotas
  • Modify email account passwords
  • List only email accounts that are over quota
  • Modify Outgoing Mail Hourly Limits
  • List only email accounts that are over a specified size
  • View the total number of emails in an email account
  • Empty an email account
  • View emails in an email account
  • Individually delete emails in an email account Continue reading…