Skip to main content

Getting 500 Internal server error with SUPHP

Comments

7 comments

  • quizknows
    You must make sure all files in public_html are owned by the cPanel user; files owned by 'nobody' or 'root' (or other users) will cause a 500 with cPanel's configuration of SuPHP.
    0
  • shojib
    I am sorry, but I have reinstalled my OS and configured Cpanel again, ant it's running smooth, but facing problems with wordpress admin panel
    0
  • es2alna
    To all people that will come from search engines, Here is the fix for your first problem, just execute this command: chmod +s /opt/suphp/sbin/suphp
    About the wordpress admin panel, what's the problem exactly?
    0
  • shojib
    [quote="es2alna, post: 1610011">To all people that will come from search engines, Here is the fix for your first problem, just execute this command: chmod +s /opt/suphp/sbin/suphp
    About the wordpress admin panel, what's the problem exactly?
    Hi , The main problem that I am feeling that,When I update any settings, like permalinks, or others, the settings page loads successfully, but after doing the changes, when I click save now, its shows nothing, just a blank screen without any error, I can't see the error in apache error log and php error log. And the problem also affects other settings like activating plugins, theme options etc. And for your reference : the screen shows blank, but the queries being successfully done by wordpress, like my changes is being saved when I click save, but it show's nothing :(
    0
  • quizknows
    You might just need to increase the php memory_limit in php.ini, I had similar problems with WP that were solved that way. Updates need a fair amount of RAM for the php process. Otherwise again verify file permissions and try turning on display_errors for PHP temporarily.
    0
  • cPanelMichael
    Hello :) You mentioned reinstalling your OS/cPanel previously. I just wanted to note that it's rarely necessary to reinstall the OS/cPanel to resolve an issue. It's better to troubleshoot an issue directly to determine the cause of the problem. Thank you.
    0
  • shojib
    I am sorry, the main issue was the PHP handler, I didn't knew that suphp doesn't works with ruid2, that's why changed the handler to DSO and everything's fixed. Cheers, Shahriar
    0

Please sign in to leave a comment.