PHP, Scripts

Bulk PHP-FPM Pool Tuner for Existing Accounts

WHM only applies PHP-FPM settings to new accounts, and as we know, the cPanel defaults may not be appropriate for higher-traffic sites. This script updates all existing accounts. #!/bin/bash # bulk-phpfpm-tuner.sh # Updates PHP-FPM pool settings for all accounts based on server RAM TOTAL_RAM_MB=$(free -m | awk ‘/^Mem:/{print $2}’) RESERVED_MB=2048 # Reserve for OS/MySQL ACCOUNTS=$(whmapi1 […]

Bulk PHP-FPM Pool Tuner for Existing Accounts Read Post »

Fixes, Howto, PHP

PHP-FPM pm.max_children Reached on cPanel Servers

See Also: Bulk PHP-FPM Pool Tuner for Existing Accounts If you manage cPanel servers, you have almost certainly encountered this log entry at some point: [pool username] WARNING: server reached pm.max_children setting (5), consider raising it It looks simple enough. PHP-FPM is telling you it ran out of worker processes to handle incoming requests. But

PHP-FPM pm.max_children Reached on cPanel Servers Read Post »

Apache, Howto, Linux, Networking, Security

PCI DSS Compliance Cookbook for cPanel Servers

If you’re running cPanel servers that process, store, or transmit credit card data, or even connect to systems that do, PCI DSS compliance isn’t optional. It’s a requirement that carries real financial and legal teeth. With PCI DSS v4.0.1 now fully enforced (the March 31, 2025 deadline for all “best practice” requirements has passed), every

PCI DSS Compliance Cookbook for cPanel Servers Read Post »

Apps, Howto, Linux, Security

CSF Post-Shutdown Survival Guide: Migration & Configuration

  For over a decade, ConfigServer Security & Firewall (CSF) was the undisputed firewall solution for cPanel/WHM servers. If you ran a shared hosting environment, a reseller setup, or even a standalone VPS with cPanel, CSF was almost certainly part of your security stack. Its WHM integration, Login Failure Daemon (LFD), and straightforward configuration made

CSF Post-Shutdown Survival Guide: Migration & Configuration Read Post »

Hacks, Howto, Linux, Scripts

Redis Integration Complete Guide for Multi-Tenant cPanel

If you’ve been running a shared hosting environment for any length of time, you’ve probably had that conversation with a customer: “My WordPress site is slow.” You’ve optimized MySQL, tuned Apache, enabled OPcache—and yet the database queries keep piling up. Enter Redis. Redis is an in-memory data structure store that can dramatically reduce database load

Redis Integration Complete Guide for Multi-Tenant cPanel Read Post »

Hacks, Howto, Security

Wildcard SSL Workarounds for AutoSSL Using acme.sh

AutoSSL is one of cPanel’s most convenient features—automatically provisioning and renewing SSL certificates for every domain on your server. But if you’ve ever tried to get a wildcard certificate through AutoSSL, you’ve hit a wall. AutoSSL simply doesn’t support them. This isn’t an oversight. Wildcard certificates require DNS-based validation (DNS-01 challenge), and AutoSSL relies on

Wildcard SSL Workarounds for AutoSSL Using acme.sh Read Post »

Fixes, Hacks, Howto, Linux

Large cPanel Account Migration: When Transfer Tool Fails

Large Account Migration: When Transfer Tool Fails (rsync Hybrid Method) Every cPanel administrator eventually encounters it: the account that simply refuses to migrate. Whether it’s timing out at 80%, throwing cryptic errors, or hanging indefinitely, large account migrations can turn a routine server consolidation into a multi-day headache. Here’s the hybrid rsync approach I’ve refined

Large cPanel Account Migration: When Transfer Tool Fails Read Post »

Fixes, Howto

CentOS 7 to AlmaLinux 8 ELevate Migration Guide for cPanel Servers

CentOS 7 to AlmaLinux 8 ELevate Migration Guide for cPanel Servers The cPanel ELevate migration from CentOS 7 to AlmaLinux 8 carries significant risk but can succeed with meticulous preparation. Real-world experiences reveal that while many migrations complete successfully, unrecoverable failures (including unbootable servers) occur frequently enough that experienced sysadmins often recommend fresh installations over

CentOS 7 to AlmaLinux 8 ELevate Migration Guide for cPanel Servers Read Post »

Scroll to Top