简体   繁体   中英

centOS php 5.3 warnings are not logged to the error log

I am running PHP 5.3 on CentOS. There are no PHP warning being written to the error log. My configuration is as follows

php.ini

log_errors = On

error_reporting = E_ALL & ~E_DEPRECATED

My virtual host conf file

<VirtualHost *:9101>
    DocumentRoot /home/parvhraban/domains/src/www_root
    php_value include_path ".:/home/parvhraban/phplibs:/home/parvhraban/domains/src/local_libs"
    ErrorLog /home/parvhraban/log/error9101.log
    CustomLog /home/parvhraban/log/access9101.log common
</VirtualHost>

It seems the settings are correct but only fatal errors are being logged. What am I missing here?

更改php.ini之后,重新启动服务器

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM