I've just started using the tavi wiki.
My php hosted server only provides the safe mode
environment for running code and does not let any php
scripts run unix apps outside a directory on the server
known as /nonexec.
I was required to have my server admin add a symlink to
the program within this directory and further changed the
config.php file to resemble those changes (copied from
lib/defaults.php) however, the wiki still failed to use the
diff cmd and reported it as non readable i think, even
though it was available as an executable.
I thus removed a series of if/else statements from
lib/diff.php that checks $DiffCmd availability and just ran
with the diff operation code within that last else
statement, this allowed me to use the diff command
successfully without problems within my wiki on my
The availability checks, in my circumstances failed to
detect the correct availability of the diff command.