• Error 500

    • views 731

    Hi! I uploaded the files to the server where there is a .htaccess file. During site authorization, after I enter login and password, error 500 appears. I tried to edit the .htaccess file, but nothing changed. The contents of the .htaccess file: AddDefaultCharset utf-8 - that`s all, the rest of the records where php_value, ? Php_flag were deleted. What can I do?

    Answers (3)
    1) Check the rights to the files, in most cases there should be rights 644 to files, and 755 rights to folders. 2) Is there enough RAM? 3) Did you contact the hosting provider, if so, what did they say?
    There could be several different reasons for the 500 error message,  and your information, unfortunately, is not enough to determine what it could be. The error can occur either on the side of Apache2 or PHP. For example, you used a non-corresponding version of the interpreter or made mistakes in its configuration (php.ini). First of all, you should look at error logs, this is standard for Apache2 /var/log/apache2/error.log, then to the error-log for PHP. If you can`t read these logs, then we recommend contacting provider`s tech.support.
    The most common reason is wrong ownership of the files, it`s worth trying to do chown -R www-data: www-data/path/to/site. And just look at the logs as written above.
We do our best for you!
Rate the article
Tell the world about it

Users (0) 0 of 5

  • In order to provide you with the best online experience this website uses personal data (cookies, IP, email, photo, name, website, etc). By using our website, you agree to our use of your personal data. More info we get commissions from the hostings, but our ratings are honest and the reviews are real.
  • Important

    We are in BETA. We need your help!

    Anonymous reviews are not allowed!

    Every month we add $50 to the account of a randomly selected user.*

    In addition, you will receive a free permanent link to your site after you leave an honest review!