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
Batch Editing CloudFlare DNS IP with CloudFlare API in PHP
We have a lot of websites behind CloudFlare’s excellent firewall system. Sometimes we need to move a server to a new IP address necessitating the manual modification of a large number of CloudFlare DNS records in a large number of CloudFlare Zones. CloudFlare is great in that if you modify a DNS record the effect is immediate – so a … Read More