PHP Error Logging

Discussion in 'General' started by zoom, Jul 3, 2008.

  1. zoom

    zoom Member

    I'm trying to enable PHP error logging and believe that I have everything correctly setup, however I'm not noticing anything in the error log. The following information is display from phpinfo()

    Loaded Configuration File /etc/php.ini
    error_log /opt/lsws/logs/php_error.log
    log_errors On
    error_reporting 6143 (E_ALL)

    If I change the display_errors directive to On I can see the error, but I don't see anything in the log. Any idea why it's not in the log file??

    Thanks
  2. mistwang

    mistwang LiteSpeed Staff

    Have no idea, it should be a PHP internal feature.
    However, you should find PHP error messages in /opt/lsws/logs/error.log or where ever the log file has been written to.

Share This Page