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!

phpSUEXEC broke my scripts!

Discussion in 'General Discussion' started by sh4ka, Mar 31, 2006.

  1. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    444
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Uruguay
    cPanel Access Level:
    DataCenter Provider
    If i have enabled phpSUEXEC it brokes some important scripts that my customers have.. so, how can I have phpSUEXEC working for x sites, and to have disabled for others ? because of this problem had to remove it from the entire server :(

    thkz!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    In what way did the scripts break?

    Rather than just abandoning it, you should try and resolve such issues as phpsuexec is a more sensible way of running php as you can then track which users are doing what (to some extent, and certainly more than when php is running as nobody).

    There are many threads in existence that explain what is needed in order to get phpsuexec to work correctly.

    Have you ensured that all php scripts, and their directories, have the correct ownership and permissions?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    444
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Uruguay
    cPanel Access Level:
    DataCenter Provider
    yes, everything is fine with ownership and permissions... if i activate phpsuexec some scripts don't work, if i disable it, they work perfectly! :S
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    920
    Likes Received:
    13
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Check the .htaccess files of the problem accounts. There should be no php values in there when running phpsuexec, so remove them.
    And ofcourse no permissions greater than 755 on any directory.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    What errors do you encounter?
     
    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