Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Forcing DSO Handler on per-user basis ? Or dealing with "nobody" files

Discussion in 'General Discussion' started by orty, Mar 30, 2012.

  1. orty

    orty Well-Known Member

    Joined:
    Jun 29, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Bend, Oregon
    cPanel Access Level:
    Root Administrator
    I'm moving my accounts between one server that uses DSO as it's php handler, the other that uses suPHP as its handler. The problem is that some of the account I'm moving have PHP configs being loaded in htaccess or have files with .php extensions that are owned by nobody.

    Is there a way to force DSO to be the PHP handler on a per-user basis, or at least get those nobody-owned files to load? They're produced by a perl-based CMS that just generates static files, in this case with .php file extensions (so it can use some basic file includes).

    All the servers I've ever worked with have been DSO so this is new territory for me (and it's a friend's server, and she says "I want to stick with suphp").

    -Jake
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    There are no native options available that will allow you to enable DSO on a per-account basis. Instead, you should try modifying the files/directories to conform with the requirements for suPHP. Have you check to see if the issue persists after ensuring all PHP files are owned by the account username? Also, you can use a custom php.ini file within the account as opposed to the .htaccess rules. The following thread includes some useful tips on making these changes:

    Switching to suPHP

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. orty

    orty Well-Known Member

    Joined:
    Jun 29, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Bend, Oregon
    cPanel Access Level:
    Root Administrator
    That thread's helped tremendously. Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice