PHP currently will not log errors produced from the command line.
I have:
log_errors = On
error_log = /var/log/php_errors.log
in file /etc/php5/cli/php.ini.
Am I missing a further setting to get this working?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Please check that the user account running PHP CLI has write access to
/var/log/php_errors.log.Additionally, you can verify that you are using the correct php.ini file like this: