cpanel

Setting up SuPHP in WHM for security reasons

Running Suphp is recommended to run your websites as it is more secure.

SuPHP allows directory to remain owned by user:usergroup and tight 0750 permissions (or even 0700). Furthermore, files created through PHP (uploaded files as well) will be owned by the effective user instead of nobody as they otherwise would be. This allows users to manage/delete/rename these files themselves as a normal cPanel-level user as opposed to requiring root access, or needing a server admin to change the ownership for them.

Sound good? If so, let's get started!
Building SuPHP Support

how to run drush with cron from cpanel for your drupal installation

Type this command on the cron command line on cpanel.
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin /usr/local/bin/drush --root=/home/yourhome/public_html/ cron run

You can copy and past it on your cpanel command line. Change this line to your home /home/yourhome/public_html/

cpanel DISKWARN: problem, where is my disk gone?

If you want to find out where your disk has gone run the following command on your shell

du -h /usr/ | grep ^[0-9.]*G | sort -nr
This will find all the directories with GB s
now repeat for other directories until you find the problem

du -h /var/ | grep ^[0-9.]*G | sort -nr /var is usually the biggest pain. Also run it for /home
du -h /home/ | grep ^[0-9.]*G | sort -nr .
Enjoy

Apache Yahoo News Feed

Drupal Yahoo News

Linux Yahoo News Feed

Mysql Yahoo News Feed