-->

DEVOPSZONES

  • Recent blogs

    How to Send PHP Logs to a file in RHEL7?

    How to Send PHP Logs to a file in RHEL7?

    1. Uncomment error_log in /etc/php.ini file.

    2. Put the path against it.
    error_log = /var/log/php_errors.log

    3.Make sure display_errors set to Off (no errors to end users).
    display_errors = Off

    4. Restart Http Service.
    systemctl restart httpd.service

    No comments