Skip to content

Instantly share code, notes, and snippets.

@jetfire21
Last active April 11, 2017 12:09
Show Gist options
  • Save jetfire21/36b62ed4918a2a86276b8adb4cbe0032 to your computer and use it in GitHub Desktop.
Save jetfire21/36b62ed4918a2a86276b8adb4cbe0032 to your computer and use it in GitHub Desktop.
php configuration
directive = value
error_log = /opt/lampp/logs/php_error_log | /opt/lampp/logs/php_error_log
log_errors = On On
track_errors On On
================
запись php ошибок в указанный файл,в wordrpess надо сделать define('WP_DEBUG', false)
полезен когда на хостинг-сервере не созадется wp-content/debug.php
==============
php_value log_errors "On"
php_value error_log /home/l/l95202t8/l95202t8.beget.tech/public_html/php_errors.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment