[MacPorts] #17839: php5: Newlines showing as "\n" in Apache error log

MacPorts noreply at macports.org
Wed Jan 28 15:40:34 PST 2009


#17839: php5: Newlines showing as "\n" in Apache error log
----------------------------------------+-----------------------------------
  Reporter:  simon@…                    |       Owner:  ryandesign@…             
      Type:  defect                     |      Status:  closed                   
  Priority:  Normal                     |   Milestone:  Port Bugs                
 Component:  ports                      |     Version:  1.7.0                    
Resolution:  invalid                    |    Keywords:  php5, error log, newlines
      Port:  php5                       |  
----------------------------------------+-----------------------------------

Comment(by simon@…):

 Thank you for your very prompt reply.

 The permissions were as you expected, however... I've chmod'd
 /Users/simon/Library/Logs/php.log to 777, here's the relevant line from
 the output of ls -Al on that dir:

 {{{
 -rwxrwxrwx    1 root   staff    1463 27 Nov 15:38 php.log
 }}}

 I restarted Apache. I then browsed to my test script again, but the log is
 still outputting to the Apache error log. The Apache error log permissions
 are set as follows:

 {{{
 -rw-r--r--  1 root  staff  42946942 28 Jan 23:34 wp.test.site-error_log
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/17839#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list