• Error 500

    • views 950

    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
or
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 receive some monetary compensation from hosting companies, however, this does not influence their positions in our ratings, test results, the direction or conclusions of our reviews in any way. We use this amount to provide better services, improve our website, to cover hosting testing account fees and team salaries. Ok

  • easy
    1

    NO BOTS

    We ban anonymous users since 2016
    2

    NO BRIBES

    We do not delete reviews for money
    We do not sell rating positions
    We make cheating attempts almost impossible
    3

    EXPERT ADVICE

    We test the hosting thoroughly and publish professional overviews
  • Rewards for reviews