Re: [CentOS] Redirecting PHP error messages into a log file

2011-06-29 Thread Kai Schaetzl
Alexander Farber wrote on Sat, 31 Jul 2010 00:47:05 +0200: > First I tried adding that file name to /etc/php.ini: > error_log = "/var/log/httpd/php_log" I can assure you that you don't have to go the syslog way. Logging to a php errorlog file of your choice works just fine. Check the file permi

Re: [CentOS] Redirecting PHP error messages into a log file

2010-07-30 Thread Jason Pyeron
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Alexander Farber > Sent: Friday, July 30, 2010 18:47 > To: CentOS mailing list > Subject: [CentOS] Redirecting PHP error messages into a log file > > Hello, > > I'm using CentOS re

Re: [CentOS] Redirecting PHP error messages into a log file

2010-07-30 Thread Alexander Farber
So you think the "httpd.*" line in syslog.conf is correct? On Sat, Jul 31, 2010 at 12:48 AM, Jason Pyeron wrote: >> -Original Message- >> I still would like to move those messages to a separate file >> though, so I've added the following line to /etc/syslog.conf >> and reloaded syslogd se

Re: [CentOS] Redirecting PHP error messages into a log file

2010-07-30 Thread John R. Dennison
On Sat, Jul 31, 2010 at 12:57:07AM +0200, Alexander Farber wrote: > So you think the "httpd.*" line in syslog.conf is correct? No, it's incorrect. Syslog filters based on facility and priority. "httpd" is not a known facility. "man 5 syslog.conf" will list the available

Re: [CentOS] Redirecting PHP error messages into a log file

2010-07-31 Thread Keith Roberts
On Sat, 31 Jul 2010, Alexander Farber wrote: > To: CentOS mailing list > From: Alexander Farber > Subject: [CentOS] Redirecting PHP error messages into a log file > > Hello, > > I'm using CentOS release 5.5 x86_64 with the stock php-5.1.6-27.el5 > and would like to redirect PHP messages into /v

Re: [CentOS] Redirecting PHP error messages into a log file

2010-07-31 Thread Christoph Maser
Am 31.07.2010 14:48, schrieb Keith Roberts: > It's a bit tricky setting up PHP error logging to a seperate > file. This works for me on 32bit, Centos 5.5 and Fedora 12, > and previous Fedora versions. > > Here are my settings: > > SELinux disabled at boot time. How about leaving it on and consult