V
V
Vlad2018-01-30 12:25:01
PHP
Vlad, 2018-01-30 12:25:01

How to enable error display in PHP?

Here the hoster does not have a folder with php error logs on the server.
Is there any way to understand why the site stopped opening anyway?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ainur Valiev, 2018-01-30
@vaajnur

.htaccess
php_flag display_errors on
php_flag log_errors on
nginx
error_log /logs/error.log;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question