PHP Error log format unser FCGI mode

Hi All,

I use Sun one web Server 6.1 SP6 as my web server and run as FastCGI mode (Web Server error log and PHP error log separates under FCGI Mode). In php.ini, I set the location of php error log file to:

error_log = "/i03_01/SUNWeb/https-www/logs/errors_php"

The following is my error logs (I use symbolic link to link the web content, therefore, the path of error file show as relative path):

[19-Dec-2006 18:07:19] PHP Warning: mysql_connect(): Can't connect to MySQL server on 'hkpu42' (145) in ../connections/connect_hotnews.inc on line 2

[19-Dec-2006 18:07:19] PHP Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in ./inc/get_all_data_e.inc on line 7

[19-Dec-2006 18:07:19] PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in ./inc/get_all_data_e.inc on line 8

Can i change the relative path to absolute path?

The following is my desired error logs:

[19-Dec-2006 18:07:19] PHP Warning: mysql_connect(): Can't connect to MySQL server on 'hkpu42' (145) in /usr/web/connections/connect_hotnews.inc on line 2

[19-Dec-2006 18:07:19] PHP Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /usr/web/inc/get_all_data_e.inc on line 7

[19-Dec-2006 18:07:19] PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/web/inc/get_all_data_e.inc on line 8

Thanks.

[1480 byte] By [polyuitjerrya] at [2007-11-26 13:01:05]
# 1
These are messages being logged by PHP, not Web Server or the FastCGI add-on. The format of the messages is controlled by the PHP daemon.Unfortunately I'm not familiar enough with PHP to know if there's a way to change relative paths in the logs to absolute paths.
JoeMcCabea at 2007-7-7 17:02:07 > top of Java-index,Web & Directory Servers,Web Servers...