Infos und Hinweise
siehe auch https://www.attac.de/was-ist-attac/strukturen/attac-netzwerk/regionalgruppen:
|
Revisions in Pm Wiki uses the unix commands
diff and patch , therefore revisions turn up blank running PmWiki under Windows.
Here are the solutions to this missing utility issue.
1) The Win Diff package.Difficulty Level: 1 out of 5 See PmWiki.Win Diff.2) Installing required utilities from gnuwin32 project.Difficulty Level: 2 out of 5
$SysDiffCmd = 'C:\\"Program Files"\\GnuWin32\\bin\\diff'; $SysPatchCmd = 'C:\\"Program Files"\\GnuWin32\\bin\\patch --silent'; I found that sometimes the path name "Progrram Files" doesn't work well, but when I copy the Gnu Win 32? tools to a more simple directory (include no space), e.g.: D:\\GnuWin32\\bin. Then all of these works well. --Elias Soong
Try using the path C:\\PROGRA~1\\GNUWIN32\\BIN instead. --para-dice?
3) Installing minimal cygwin environment to get utilities from.Difficulty Level: 3 out of 5 I had some problems getting the gnuwin32 utilities to work. Installed a minimal cygwin ( http://www.cygwin.com ) withdiff-utils and patch packages included, works great for me now.
$SysDiffCmd = 'C:\cygwin\bin\diff.exe'; $SysPatchCmd = 'C:\cygwin\bin\patch.exe --silent';Ta da again! -- Jo Nt E? 4) Running Apache + PHP + PmWiki entirely from cygwin environment.Difficulty Level: 4 out of 5 If you run the Apache/PHP combo that comes with cygwin ( http://www.cygwin.com ), Then you don't need to specify the or variables as PmWiki will function thinking it's under a unix environment.
Don't forget to manually select the diff-utils and patch packages when performing the cygwin install.
Note: This is not the same as using the win32 Apache install from http://httpd.apache.org/, or the win32 installer from http://www.php.net/.
Re Ta Da! --Joakim Erdfelt?
my host doesnt allow system command :( Is there a diff.php command that give the same output and might be used instead ? :0) Ashar Voultoiz?
Try Cookbook.PHP Diff Engine?
Nils K?
|