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.

suphp advice please

Discussion in 'Workarounds and Optimization' started by Bashy, Mar 13, 2011.

  1. Bashy

    Bashy Well-Known Member

    Joined:
    Feb 20, 2011
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    Hi folks

    If i change to suphp is there anything i need to be aware of, i vaguely remember something to do with permissions? on files i dir's? am i aright in thinking you cant use 777? or is that something else?
     
  2. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hey,

    Yes, it is not possible to use 777 permissions. You may need to change the diretcories permissions to 755 and files to 644.
     
  3. Bashy

    Bashy Well-Known Member

    Joined:
    Feb 20, 2011
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    Thanks for the reply.... I thought thats what it was, shame, i use a good few scripts that need 777
     
  4. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hey!

    It is okay! Cheers :)
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Those scripts will not require 777 upon switching to suPHP anyway, so the fact that 777 is not required would not be an issue, since you can change to 755 and have the scripts still work.

    I have a prior thread where I discussed the steps on converting from DSO to suPHP (done last year as my non-staff account at the time):

    Switching to suPHP

    One point that was not noted in the post would be to tail the Apache error log after converting to see if any sites are showing errors, which can be done by running this command:

    Code:
    tail -f /usr/local/apache/logs/error_log
     
Loading...

Share This Page