Restart php-fpm in Cpanel Server

To restart php-fpm on Cpanel server, run

For Cpanel php-fpm, run

php-fpm config stored in /opt/cpanel/ea-php70/root/etc/php-fpm.conf, pool config available in folder

php70 is for PHP version 7, replace it with actual PHP version you are using. Cpanel Server php-fpm […]

Read More…

Fix Cpanel SSH Service in WHM

You may need to restart SSH on Cpanel server with default settings to get SSH access. This may needed when you work on a server with unknown SSH port or when SSH service on the server is failed/limited for some reason. To fix SSH, login to WHM, then access following URL

URL will look […]

Read More…

Allow Passive FTP in Cpanel Server with CSF

To enable Passive FTP in Cpanel Server running CSF firewall, check the passive ports used in /etc/pure-ftpd.conf

As you can see pureFTPd use ports 49152 to 65534 for data transfer when in passive mode. You need to open these ports in CSF firewall. Edit csf.conf

Find line start with

Add ports ,49152:65534. […]

Read More…

Install ImageMagick PHP module in Cpanel Server

To install ImageMagick on Cpanel Server, in root SSH, run

To install PHP Module, login to WHM as user root. WHM > Software > Module Installers Click on Manage link for PHP Pecl. Select the PHP version from drop down list on which you need ImageMagick PHP module installed. Search for “imagick”. Click on […]

Read More…

Cpanel Error NetworkManager is installed

When installing Cpanel on a dedicated server, i get error NetworkManager is installed and running, or configured to startup. To fix this, you just need to uninstall NetworkManager package.

Another error i got on same server is 2017-12-18 09:47:20 1076 (FATAL): /etc/resolv.conf must be configured with non-local resolvers for installations to complete. This error […]

Read More…