Home » Cpanel/WHM (page 3)

Cpanel/WHM

cPanel: Apache + PHP FastCGI Data Timeout Error

If you are run on cPanel server and have FastCGI enabled in Apache, you might facing following error which caused your website hang or prompting ’500 Internal Server Error’ message. When checking into/etc/httpd/log/error_log, you will see something similar as below: [warn] .. mod_fcgid: read data timeout in 40 seconds, ... [error] .. Premature end of script headers: index.php ... This …

Read More »

Install Ruby on Rails in cPanel/WHM

The installation of Ruby on Rails in cPanel has two parts, first is installing Ruby itself, which can be accomplished by running: [code]/scripts/installruby[/code] This script will install Ruby, RubyGems, Mongrel and the software that Ruby relies upon and activates the Ruby interface in your end user’s cPanel. The second step in the installation is running. [code]/usr/local/cpanel/bin/ror_setup[/code] This script will setup …

Read More »

Basic Linux Commands (Cheat Sheet)

Here are many common Linux commands that will be helpful to you, if you ever even use the command line interface in Linux. Most average users just use the graphical user interface instead which usually has many tools and front-ends to Linux common commands. This Linux tutorial on command commands will help even the average user in case X server …

Read More »

WHM/Cpanel Increase The Size Of /tmp (/usr/tmpDSK) Partition

You may have noticed that cPanel’s default partition size for /tmp is 512 MB, which in some cases can be way too small. And sometime you probably get this report email: Drive Critical: /usr/tmpDSK (/tmp) is 100% full Although cPanel automatically deletes the unused files, the /tmp would be getting full very quickly on a busy server. The /tmp partition …

Read More »

Install nginx as reverse proxy in cPanel

The web-hosting control panel’s default web-server is Apache. cPanel/WHM doesn’t have native support on Nginx, but we can install and configure it so that it will improve the server performance. Why run Apache and Nginx together? Is there any advantage by using Nginx as reverse proxy on Cpanel? Both Apache and Nginx are powerful and effective web-servers. Apache is the topmost webserver …

Read More »

List of cPanel Default Open Ports

This is a listing of all default open ports in cPanel server. You must open all of these ports in your server firewall to run the cPanel perfectly. These default ports are configured as opened in the firewall like CSF for a cPanel server. 20 FTP 21 FTP 22 SSH 37 rdate 25 SMTP 26 SMTP 110 POP3 143 IMAP4 465 SMTP TLS/SSL …

Read More »

PHPMyAdmin – Unable to establish a PHP session

PHPMyAdmin error Have you ever come across the following error when you access PHPMyAdmin from cPanel. Access Denied Unable to establish a PHP session. If you believe that this is in error or inadvertent, contact your system administrator and ask them to review your server settings. Normally, you will get this error when the permission or ownership of the tmp folder …

Read More »