Bulk Editing PHP-FPM .yaml Files on a cPanel Server

JeffTechnical Articles & Notes

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

CouchCMS Shortcode for Automatic Image Resizing In RichText

JeffTechnical Articles & Notes

I have a client that wants to use CouchCMS (an open source content management system) to add content to their website. The content varies, and the pages contain many images of different sizes – the originals of which are often very large. Manually resizing these images to create appropriately sized thumbnail and larger versions would be a very onerous task. … Read More

LastPass and SaltThePass

JeffTechnical Articles & Notes

Password managers are obviously attractive targets for cybercriminals – but they’re considered by most to be better than any alternative. The thought of having my entire password manager vault/archive compromised was giving me cold sweats in the wee small hours. What else could I do though!? Then LastPass’s browser plugin was repeatedly shown to be highly insecure by Google Project … Read More

Solved: cPanel’s CPHULK, CloudFlare and X-Forwarded-For

JeffTechnical Articles & Notes

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

JeffTechnical Articles & Notes

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