Quickest way to display all php errors and warnings is to add these lines to your PHP code file: ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);
Використовуйте Editor editor для зміни .htaccess file as follows:
- Перевірте PHP від відтворення error messages, натиснувши на наступну лінію: php_flag display_errors Off.
- Щоб дозволити PHP відтворити помилку повідомлення, натисніть на наступному: php_flag display_errors On.
Editing the php. ini to Display Errors
- Log в your cPanel.
- Перейти до файлу Manager. …
- Виберіть “Error handling and logging” section in the php.ini. …
- Далі ви можете налаштувати display_errors variable to On or Off to ether show show errors on your website or not.
Sep 28, 2022