I recently started playing with php in cgi mode, and one interesting/annoying thing is that the error messages generated are imbedded in html. For example, this is part of an error mesg I am getting:
<b>Warning</b>: Missing argument 10 for main()
in <b>parser.php</b> on line <b>58</b><br>
<br>
<b>Warning</b>: 0 is not a Sybase result index in <b>parser.php</b> on line <b>103</b><br>
<br>
Php was configured first as cgi, and then as apache module. I guess they both are sharing the same php.ini file. The first line of php code is: #!/home/wwwuser/php-4.0.6/bin/php -q
Its not really much of a problem, but if its easy to fix (i.e. get error mesg w/o html tags) then please post the solution.
Thanks,
Farzal