Skip to main content

Changing to DSO handler does not allows php to write anything

Comments

7 comments

  • cPanelMichael
    Hello, What specific error messages do you see in /usr/local/apache/logs/error_log regarding this account? Thank you.
    0
  • shojib
    What would be the best practice on file permissions ? user:nobody and 755 ?
    0
  • cPanelMichael
    It depends on the file and your PHP handler, but generally file ownership should be "user:user" with 0644 permissions (with exceptions such as CGI/Perl files). Thank you.
    0
  • 24x7ss
    Hello, Did you try changing enabling the FTP access and changing the permissions to 777 to required folders? With DSO you need to have 777 permissions to uploads folder to make it work. But you increase the chances of your website being vulnerable with this.
    0
  • shojib
    Hello, Did you try changing enabling the FTP access and changing the permissions to 777 to required folders? With DSO you need to have 777 permissions to uploads folder to make it work. But you increase the chances of your website being vulnerable with this.

    Unfortunately I can't connect to every ftp and change the permissions accordingly on every user account . Any command from SSH or shell script that can do the trick ?
    0
  • shojib
    Guys, I just found that recompiling with apache mod_ruid2 fixed everything !
    0
  • cPanelMichael
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.