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!

mod_suphp question

Discussion in 'Security' started by Un Area, May 14, 2018.

Tags:
  1. Un Area

    Un Area Well-Known Member

    Joined:
    Nov 16, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    I was running a server with PHP CGI and I setup mod_suphp with EasyApache, then i set the suphp handler at the PHP Manager.

    Ok, seems that is working cause I see info at /etc/apache2/logs/suphp_log, there was only one site with a warn message that a folder was writable. I set the permissions to 755 and the site became available again.

    My doubt is with a particular site, is a Joomla that all folders are set to 755 and files to 644 and has it user.user permission correctly.

    If I change for example index.php to 777 site gives error 500 which is ok. But if set a folder , any folder of the joomla to 777, the site loads and doesnt gives 500 error. Why is that? Shouldnt be an error 500 instead??

    Also, other thing that took my attention that there is a site that is wordpress that has the upload folder with permisions 775 and the user.nobody permission. And the site loads anyways with that configuration with suphp. Shouldn be an error cause of 775 folder permission and using a group different from the user?

    I wait your comments.

    Thank you!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Un Area

    Un Area Well-Known Member

    Joined:
    Nov 16, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    Nevermind, I switched to php-fpm and I got the issue fixed.
    Besides, suphp is no longer supported.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,928
    Likes Received:
    1,819
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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