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.

