Topic on Project:Support desk

Iantresman (talkcontribs)

I thought my installation told me that diff3 was not set-up, and I note that localsettings.php has an option to specify the the path to diff3.

Now that I have mediaWiki installed, how do I tell whether diff3 is set-up correctly? Is there a Special page that will tell me, along with other settings?

Florianschmidtwelzow (talkcontribs)

I'm not sure what you want, but you can always run the installer again (openeing yourdomain.tld/mw-config) and you'll see any information again :)

Iantresman (talkcontribs)

That kind of works, in my Browser I re-ran mydomain/w/mw-config, and after entering my upgradekey, it tells me that "GNU diff3 not found". I then added into my LocalSettings.php file, the entry: $wgDiff3 = "/usr/bin/diff3", and re-ran /w/mw-config, but no change.

After a bit more research, I found that my PHP was not accessing scripts in /usr/bin (see "UNIX utility binaries not found")

On my Plesk server, the solution was to go into my Control Panel, and in "PHP Settings", add :/usr/bin/ to the open_basedir settings, so that it now read: {WEBSPACEROOT}{/}{:}{TMP}{/}:/usr/bin/ (this may be different for others). There was also no need to set in my LocalSettings.php file $wgDiff3 = "/usr/bin/diff3" (as this is the default anyway).

Another benefit is that the configuration now says: Found ImageMagick: /usr/bin/convert

Florianschmidtwelzow (talkcontribs)

Great, thanks for the feedback! :)