On Mon, 2006-06-26 at 11:15 -0700, Sam Keen wrote:
> I think I have more of an apache problem than a trac issue but I hope
> you can help
>
> I am trying to get code colorization working but it is not quite working.
>
> My trac.log is full of...
...snip...
> Exception: Running (php -sn) failed: 127, sh: php: command not found
> --------------
>
> my php binary is in /usr/local/bin
>
> I put that path in /etc/profile and restarted (hoping apache could
> find php then) but still could not find.
>
> I don't think it is a permission issue because a test PHP script with
> the line...
> print exec("/usr/local/bin/php -i"); works (where as print exec("php
> -i"); does not )
>
> any suggestions are most appreciated,
Set "php_path" in trac.ini:
http://projects.edgewall.com/trac/wiki/TracIni#mimeviewer
--
Matthew Good <[EMAIL PROTECTED]>
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac