Answer the question
In order to leave comments, you need to log in
PHP error when determining file encoding?
PHP скрипт падает (500) с ошибкой
"Could not convert the script from the detected encoding "UTF-8" to a compatible encoding".
Окружение Nginx + php7.2-fpm.
При запуске скрипта через cli ошибок никаких нет.
На другом сервере в окружении Nginx + php7.0-fpm тот же скрипт работает без ошибок уже много лет.
Как можно отключить это определение кодировки?
Answer the question
In order to leave comments, you need to log in
Maybe someone will be interested.
Overcame setting "UTF-8" in php.ini for internal_encoding
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question