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 is no longer supported by cpanel?

Discussion in 'General Discussion' started by EEssam, Apr 11, 2008.

  1. EEssam

    EEssam Member

    Joined:
    Feb 20, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hello guys,

    My server management company told me the following:

    Please confirm, is it true that Phpsuexec is no longer supported by cpanel and suphp is it's replacement and Phpsuexec doesn't work properly anymore?

    Thanks.
     
  2. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    what version of apache are you running?
     
  3. EEssam

    EEssam Member

    Joined:
    Feb 20, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I'm using Apache 1.3. Please tell me how this is relevant to the issue.

    Thanks.
     
    #3 EEssam, Apr 11, 2008
    Last edited: Apr 11, 2008
  4. gtgeorge

    gtgeorge Well-Known Member

    Joined:
    Feb 28, 2007
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    6
    Because phpSUEXEC is still supported in Cpanel that is not on Apache 2.x?
     
  5. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    that is what I was getting at. :)
     
  6. EEssam

    EEssam Member

    Joined:
    Feb 20, 2008
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    So basically what the management company is telling is incorrect.

    Please confirm.
     
  7. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Running PHP via SuExec is supported in all versions of Apache.

    In versions of EasyApache prior to EasyApache 3, we used to patch suExec to work more seemlessly with PHP. This patching was often referred to as 'phpsuexec' and is no longer supported. It was problematic, was prone to error and was only compatible with Apache 1.3.

    The same security benefits can be had by either:

    1. Using mod_suphp; or
    2. Using regular suExec
     
  8. hostmedic

    hostmedic Well-Known Member

    Joined:
    Apr 30, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Washington Court House, Ohio, United States
    cPanel Access Level:
    DataCenter Provider
    performance hit?

    will there be a performance hit using mod_suphp ?

    I would think so as it would call php via cgi

    then again - does this not happen across pretty much all *suexec solutions/?
     
  9. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    Yes and yes
     
  10. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    If you want the raw speed of mod_php and the security of mod_suphp/suexec, then do some reading on FastCGI.
     
  11. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    suphp is a performance hit if the server is under heavy PHP load; but in most cases the extra load isn't really noticeable.

    You'll be under pretty serious load if accounts get hacked or a spammer starts up and you can't track them down; suphp helps with that sort of load :P
     
  12. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    I think that's Apache 2 only? I looked quickly for that, but I am still on Apache 1.3 and couldn't see the option for FastCGI in Easy Apache. Nice to know it works though, when I am ready to go to Apache 2.
     
  13. pina

    pina Registered

    Joined:
    May 17, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I think the best advantage of suphp is most security.
    Because you can find abusers also without suphp
    The big negative points is that it could overload the server easly and it does not accept php accelerators at all.
     
  14. pina

    pina Registered

    Joined:
    May 17, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    anyone was able to use suphp with FastCGI ? is there any how to ?
     
Loading...

Share This Page