I have a server running Debian. I have subfolders: each of them is a new virtual host for each website.
I installed pear from the apt get command (pear and php pear), without any problem. I then installed Horde_diff_text package as well.
I'm now trying to run the example. I copied and past the 'Text' folder (which contains the files for the command) in my virtual host.
But the file example is not working, as well as other scripts (Horde_Text_Diff string comparison library only comparing 1st character of strings)
I followed the instructions to check out my installation, everything is fine (http://pear.php.net/manual/en/installation.checking.php)
I added at the beginning of the script this line:
set_include_path(get_include_path() . ":/usr/share/pear");
even though i'm not exactly sure what path i should include (when i get include path i have this :
.:/usr/share/php:/usr/share/pear
So I don't really know what to do anymore to get text_diff work. Is there an issue because my pear and text_diff files are not on my virtual host folder ? What could be wrong ?