What\'s the PHP config setting which allows or prevents newlines in debug output from being escaped?
On two different installs (a dev laptop running MAMP/OSX, and a
Chris, you should be able to change the error_log directive in your php.ini on Debian to point to a file. If this is undefined, it will go through syslog which doesn't support multiple lines.
Details:
error_log function
error_log directive
The problem is caused when the Apache process can't write into the error_log file, so the syslog writes into the file instead. The syslog messes up the line breaks.
So just do:
chmod 777 error.log
This should solve your problem.