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.

Will Perl/PHP scripts have problems if suexec and phpsuexec turned on?

Discussion in 'General Discussion' started by SuperBaby, Jan 18, 2008.

  1. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    I am using a lot of Perl and PHP scripts at my site. So far on my dedicated server the suexec and phpsuexec are both turned off.

    Will my Perl/PHP scripts have problems if I turned on suexec and phpsuexec?
     
  2. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    I can safely say I've had no trouble with the suexec wrappers, however you may have quite a few file permissions to change if youve been running without them.
     
  3. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    Can you please explain more on what file permission I have to change if I turn them on?
     
  4. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    suphp/phpsuexec require 755 file permissions. They don't allow 777 files or directories. Any 777 files or directories will fail to load and basically break the users site so these need to be changed.

    Read up more on it, you also need to go through and modify all their .htaccess files if they're using php_flag options as well since this will further break.
     
Loading...

Share This Page