The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    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!
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    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?
     
  3. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    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
     
  4. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    867
    Likes Received:
    9
    Trophy Points:
    18
    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.
     
  5. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    What errors do you encounter?
     
Loading...

Share This Page