Dedicated server 500 error
I purchased dedicated server. I upload script and getting 500 error. I tried different ways but same result. PHP Files are not working.
how can I resolve it?
-
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 -
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 -
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 -
where can I find php.ini file and how can I configure it for these type of errors. 0 -
My problem has resolved thanks for your support. 0 -
Hello Glad to hear it. Thanks for updating this thread. 0 -
[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.
Comments
7 comments