P
P
Pavel Gogolinsky2015-06-25 10:11:22
Yii
Pavel Gogolinsky, 2015-06-25 10:11:22

How to debug a 500 error if there is no root access on the server?

The site is located on a regular hosting (sprinthost). apache, php.
During the transition I get an error 500. How can I see the server logs to determine the reason?
I included the following parameters in .htaccess:
error_reporting E_ALL
php_value display_errors On
php_value display_startup_errors On
php_value error_log /home/username/domains/sitename/logs/error.log
But nothing is written to the error.log file, the problem is not displayed on the screen. What would you do in my place?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2015-06-25
@gogolinsky

shared hosting always gives access to the logs, sometimes it is done in the control panel and you need to download them manually, sometimes there is access via ftp and the logs are not in the var log
, they are usually in your home directory in the log folder or something else

C
corpsepk, 2015-06-25
@corpsepk

Try looking at Apache logs, not php.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question