Re: configuration problem rsyslog with php [message #183001 is a reply to message #183000] |
Wed, 02 October 2013 07:58 |
J.O. Aho
Messages: 194 Registered: September 2010
Karma:
|
Senior Member |
|
|
On Wed, 2 Oct 2013, Avnesh Shakya wrote:
> I have a problem, when I am installing sysklogd, then errors are going
> in var/log/syslog file perfectly, when I am installing rsyslog, then
> errors are not going in syslog file, even I configured php/cli/php.ini
> file(by adding error_log= syslog), but still errors are not going in that
> file, please help me... What I have to do..., i know it's a silly
> question, but I am unable to configure it.....
Your distribution has different configuration files depending on how php is
used, the /etc/php/cli/php.ini is used only when you use php in command line
and will not affect php which is used on web pages, for that you have
another config, change the one which is relevant for your system setup,
don't forget to restart the service which handles the php for the web server
8in most cases it's the web server itself).
If you still have issues that the logging do not end up in the system log
/var/log/messages or /var/log/syslog or what ever you expect it to end up
in), then it's a rsyslog issue and then this usergroup is the wron one to
ask, look for a more relevant usergroup or find a support medium that is
correct for rsyslog.
--
//Aho
|
|
|