CMS Recommendation?


New Member
About to give up on joomla, too many permission/ownership problems installing modules and what not.

Considering Drupal but not sure about the install process and cron jobs.

Anyone recommendations for alternative cms for use on a cpanel server?

Hello Gpro,

Are you using SuPHP? This will cause Apache to run as the users so when files are uploaded they are owned correctly rather than as the Apache user.

I would guess not, how would I check or better yet how would I install/enable SuPHP?

EDIT - Found this doing a seach elsewhere:

suPHP is nothing but phpsuexec in cpanel

You can enable phpsuexec either using apache update in WHM or using easyapache

Login to WHM as root

2. Click on "Apache Update" in the left hand column
3. Click on "Load Previous Config"

4. Check "PHP suEXEC Support" towards the bottom of the screen

5. Click on "Start Build" and let the installation complete.

I have two sites using joomla, will this correct the ownership issues for both sites? Sorry, not a php wizard.

Hi Gpro,

It's much easier than that now a days assuming that Apache was previously compiled with suEXEC and it just wasn't enabled. If not then Apache will need to be recompiled which is the direction you were going.

Go to Service Configuration > Apache Configuration > Configure SUexec and PHP then select the dropbox for PHP 5 handler and select 'suphp'. Select the dropbox for Apache suEXEC and select 'on'. Click the button to Save New Configuration and that should take care of it.

In order to fix existing ownerships in SSH as root do this:
chown -R username:username /home/username/public_html
Replace 'username' with the account's username of course. This is a recursive chown of all files in the public_html directory.

Edited: Added note about having suEXEC compiled into Apache.
Dan - I appreciate your help.

When I go to WHM - Service Configuration > Apache Configuration > Configure SUexec and PHP this is what is shown.

Currrent Configuration
Default PHP Version (.php files) 5
PHP 5 Handler dso
PHP 4 Handler none
Apache suEXEC on

Alter Configuration
Default PHP Version (.php files) 5
PHP 5 Handler dso (options are dso, cgi or none - No suphp)
PHP 4 Handler none
Apache suEXEC on

The dropdown to choose PHP 5 Handler does not show SuPHP - Does this mean I need to recompile apache?

Thanks again,
Hi Grpo,

Yes that is what it means.

I would start off by making sure your ownerships are correct. In SSH:
chown -R username:username /home/username/public_html
And then in WHM go to Software > EasyApache
select Load the previously saved config
click Start customizing based on profile
select the latest version of Apache
click Next step
select PHP 5
click Next step
select the latest version of PHP
click Next step

This brings you to the Short options list.
skip to the bottom and
click Exhaustive options list
search (ctrl-f) for suphp and check the box for mod suphp

Go to the end of the page and you can give your custom build a name if you want then click save and build.

This will take some time to complete and in the next window you will see it building and compiling. Service will be interrupted but only briefly. It is possible that you can run into some errors depending upon permissions. These are usually fairly easily addressed though. Just shoot me a PM (so I get email notification) if you would like and I will be glad to help you out.