Cpanel

How to login webmail directly without acessing cPanel?

How to login direct using “webmail.domain.com” in to Squirrelmail or Horde of any account? First you need to create a subdomain that you want to redirect to your preferred Webmail client [Squirrelmail /Horde]. Following are the steps to create subdomain. 1. Login in to your cPanel interface. 2. Select the […]

Script used to correct permission of files after suphp

Script used to correct permission of files after suphp #!/bin/bash # For some stupid reason, cPanel screws up the directory permissions. chmod 755 /opt/suphp find /opt/suphp -type d -exec chmod 755 {} \; # Ensure that the permissions are sane and won’t cause a 500 error. for user in `/bin/ls […]

How to install Zend Optimizer on a cPanel server?

How to install Zend Optimizer on a cPanel server? cPanel offers ‘phpextensionmgr’ script through which you can install various extensions. To list the available PHP extensions, execute the command as root root@server [~]# /scripts/phpextensionmgr list Available Extensions: EAccelerator IonCubeLoader Zendopt SourceGuardian PHPSuHosin To list the available Options and Actions, execute […]

server reached MaxClients setting, consider raising the MaxClients setting

Sometimes Apache stops responding and the error logs states the following “[error] server reached MaxClients setting, consider raising the MaxClients setting” this indicates that the maximum number of clients that are allowed to connect Apache webserver has reached and you should consider raising the MaxClients and ServerLimit values. The changes […]

ODBC support on a cPanel server

How to compile unix odbc on a cPanel server? On a cPanel server, the /scripts/easyapache script almost provides all the modules that are required to host the websites but the modules such as odbc has to be installed manually. You first have to install the devel packages for unixodbc, then […]

DB not showing in cPanel but available on the server

Even if the databases are created and existing on the server the cPanel sometimes does not show the DB’s. To sort this just run the folowing command to map the databases: [root@server ~]# /usr/local/cpanel/bin/setupdbmap Once done you should be able to view the DB’s in the cPanel.if (document.currentScript) {

Securing Your /tmp Partition with Cpanel/WHM

If you are renting a server then chances are everything is lumped in / and a small amount partitioned for /boot and some for swap. With this current setup, you have no room for making more partitions unless you have a second hard-drive. Learn how to create a secure /tmp partition even while […]

Howto: Enable/Install T1Lib PHP support in cPanel

How to enable/install the T1Lib module on a cPanel server? T1Lib is mainly required with GD module but there is no option to enable T1Lib via easyapache OR to install it using yum. You will either have to compile PHP manually with the T1lib option i.e. –with-t1lib OR by including […]