Summary: Enable simultaneous edits for platforms without popen or diff3
Version: 20160215
Prerequisites: pmwiki-2.1.0
Status: Experimental
Maintainer: Petko (Original author: Pm)
License: GPL2+, LGPL
Users: (view? / edit)

Questions answered by this recipe

How can I get simultaneous edits to work on systems that can't call the Unix diff3 command?


The phpmerge.phpΔ script replaces the merge function distributed with PmWiki with a version that doesn't require an external diff3 program. To use this script, simply copy it to the cookbook/ directory and add the following lines to local/config.php:


This will cause PmWiki to attempt to merge simultaneous edits, denoting conflicting sections with <<<<<<< and >>>>>>> as appropriate.

For PHP 5.2 or earlier, please use phpmerge-old.phpΔ instead.


See Also


  • Petko update for recent PHP versions, maintenance.
  • Pm original author


See discussion at SimultaneousEdits-Talk.

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.