chrome sai1VB3Iin - cPanel: Create a MySQL database & user using data from wp-config.php

cPanel: Create a MySQL database & user using data from wp-config.php

Here is a small script that I use when migrating WordPress websites from some other panel to cPanel. I export the database on the old server and then simply copy the .sql dump file along with all other WP files from the old server to the new one...

chrome Iidan6iGUv - Install ImageMagick & imagick PHP extension to cPanel

Install ImageMagick & imagick PHP extension to cPanel

Step 1. Install imagemagick on the server: yum -y install ImageMagick-devel ImageMagick-c++-devel ImageMagick-perl To check if installed: /usr/bin/convert --version Step 2. Install the imagick PHP extension to all PHP versions on the cPanel server:...

image 8 - iOS Universal Links not working behind Cloudflare

iOS Universal Links not working behind Cloudflare

Support universal links are used for iOS developers so that users can tap a link to the website and get seamlessly redirected to their installed app without going through Safari. Apple has pretty well-explained documentation on how to setup...

chrome DZMflbXKid - Use AbuseIPDB API to block bad IP's on ConfigServer Firewall

Use AbuseIPDB API to block bad IP’s on ConfigServer Firewall

AbuseIPDB has a free API plan that will allow you to get a list of up to 10.000 blacklisted IP addresses that are currently reported for malicious activity. On a Linux server, we can use this data to automatically block that bad IP traffic from our...

what is cpanel - Disable greylisting on all cPanel accounts

Disable greylisting on all cPanel accounts

Here is a simple one-liner that will disable the greylisting feature for all cPanel accounts on the server:

for i in $(\ls /var/cpanel/users) ; do uapi --user=$i cPGreyList disable_all_domains ; done

image 16 - CWP Login to SSH error: This account is currently not available

CWP Login to SSH error: This account is currently not available

The SSH login error This account is currently not available indicates that the user does not have a proper shell set. SSH error: This account is currently not available First, check if your CWP user has access to the terminal: Add SSH access to CWP...