- views 814
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.
Users (0) 0 of 5