When running all or most of ones client accounts on a cPanel server under PHP-FPM, making a change to PHP.INI in the usual ways has no effect. WHM Multi-PHP INI Editor does not work in the ‘normal’ way and nor do individual users’ cPanel account INI editors; in fact the way to make changes is (at time of writing) to … Read More
Solved: cPanel’s CPHULK, CloudFlare and X-Forwarded-For
At the time of posting, there is a feature request on the cPanel website which, if approved, would enable the admin of a cPanel server to have CPHULK act on the content of the X-Forwarded-For header in HTTP requests. https://features.cpanel.net/topic/have-option-for-cphulkd-to-action-on-x-forwarded-for cPanel feel this is a bad idea because the X-Forwarded-For header is easily spoofed. Which could lead to all sorts … Read More
Deleting Per Account cPanel Error Logs
cPanel does not rotate or in any way limit the size of the per-account error_logs which are created for each folder of each account on the server by Apache. Apache can be configured not to create them at all but they are extremely handy for debugging. They can of course become very large and hog a lot of disk space, … Read More
Setting Up Per IP Traffic Reports on cPanel Servers Step 1 of 2
Our cPanel server sees a lot of traffic to a lot of different websites. Under cPanel each site has its own access_log and error_log and there is no master global access log. There’s also no way we can find, even using plugins, to monitor and report traffic levels from any particular IP address. Something we’d like to do in order … Read More
Linux (cPanel) Server Daily Disk Usage And Large Directory Report
Our servers automatically warn by PushBullet, Email and SMS whenever disk space hits some threshold warning level, which is handy. If you’re reading this you’re probably aware that when a server’s primary disk becomes completely full, the server becomes inoperable. A situation best avoided! An issue though is that this alert can come at any time – and if disk … Read More
CloudFlare & WHM/cPanel Apache Server Firewall Conflict
CloudFlare adds another level of security and resilience in front of our dedicated server. It’s an excellent idea and for basic use, it’s completely free. Fab. However, there’s a problem. Because all server traffic which is routed via CloudFlare effectively comes from CloudFlare, and because it’s imperative CloudFlare’s IP address ranges are never blocked (because one bad apple would spoil … Read More