Skip to main content

Dedicated server 500 error

Comments

7 comments

  • cPanelMichael
    Hello :) Please check the Apache error log (/usr/local/apache/logs/error_log) or the Error Log option in cPanel when you notice this error message in your browser. What is the output? Thank you.
    0
  • same2cool
    I am getting this error /home/super945/public_html/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
    0
  • cPanelMichael
    It's likely the server your account is hosted on uses suPHP as it's PHP handler. This is fine, but you must ensure that you remove "php_value" or "php_flag" entries from your .htaccess files and instead simply use a php.ini file to make custom PHP configuration changes for the account. Thank you.
    0
  • same2cool
    where can I find php.ini file and how can I configure it for these type of errors.
    0
  • same2cool
    My problem has resolved thanks for your support.
    0
  • cPanelPeter cPanel Staff
    Hello Glad to hear it. Thanks for updating this thread.
    0
  • cPanelMichael
    [quote="same2cool, post: 1590542">where can I find php.ini file and how can I configure it for these type of errors.
    For those that might have a similar question, you can manually create the php.ini file within the account's home directory, or copy it over from /usr/local/lib/php.ini. Thank you.
    0

Please sign in to leave a comment.