Scripts

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 »

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 »

Howto, Scripts

Automatically Installing WordPress on a New cPanel Account

As a hosting provider, one of the most common requests you’ll receive is WordPress installation. While manual installations work fine for occasional setups, they become time-consuming and error-prone when dealing with multiple clients or specific hosting plans designed for WordPress users. This is where cPanel hooks come to the rescue. The following script will use

Automatically Installing WordPress on a New cPanel Account Read Post »

Hacks, Howto, Linux, Scripts

Custom Skeleton Directory Tricks for cPanel

When new accounts are created in cPanel/WHM, the system automatically copies a set of default files from the skeleton directory into the user’s home directory. This mechanism is often overlooked, but with some creativity, it can become a powerful way to automate onboarding, enforce standards, and pre-deploy useful files.   Where Is the Skeleton Directory?

Custom Skeleton Directory Tricks for cPanel Read Post »

Apps, Howto, Linux, Misc, Scripts

Building Custom cPanel Plugins Using the cPanel API Framework

The cPanel control panel’s extensibility through custom plugins is one of its most powerful features for web hosting providers and system administrators. Whether you need to integrate third-party services, automate specific tasks, or provide custom functionality to your users, building cPanel plugins using the official API framework gives you the flexibility to extend cPanel’s capabilities

Building Custom cPanel Plugins Using the cPanel API Framework Read Post »

DNS, Howto, Scripts

Implementing DNSSEC with cPanel’s Built-in PowerDNS

Modern cPanel installations come with PowerDNS pre-integrated as an alternative DNS server option, providing native DNSSEC support without requiring separate installation or complex configuration. This guide will walk you through enabling and managing DNSSEC using cPanel’s built-in PowerDNS implementation through WHM (Web Host Manager) and cPanel interfaces. Understanding cPanel’s PowerDNS Integration cPanel’s PowerDNS integration provides

Implementing DNSSEC with cPanel’s Built-in PowerDNS Read Post »

Howto, Scripts

Git Integration in cPanel: Advanced Version Control Workflows

Modern web development demands robust version control systems, and cPanel’s Git integration has evolved to meet these needs. This comprehensive guide explores advanced workflows that leverage cPanel’s Git functionality to streamline development processes, enhance collaboration, and maintain production stability. Understanding cPanel’s Git Architecture cPanel’s Git integration operates through a sophisticated interface that bridges traditional shared

Git Integration in cPanel: Advanced Version Control Workflows Read Post »

Scroll to Top