I was getting HTML Preview not available on Trac when browsing PHP files.
The problem wass that php-4 included with centos 4 is only cgi and it looks like trac .10 needs php-cli.
To get around this I installed php5 from source and pointed php path in all trac.ini files to point to that binary.
