nc.
nc.

Reputation: 7249

syslog() calls failing to log anything in PHP

I have some PHP code that's calling syslog(). I have control over the server. No matter what combination of openlog(), closelog(), priority and facility I try it will not log to the syslog. Any idea why?

Thanks.

Upvotes: 1

Views: 471

Answers (1)

nc.
nc.

Reputation: 7249

I had to mount the /dev/log device in the chroot jail that PHP was running under.

Upvotes: 1

Related Questions