Topic on Project:Support desk

Installation issues No /etc/mediawiki directory

5
82.219.14.93 (talkcontribs)

Hi, I tried to install MediaWiki 1.24 onto my Ubuntu 14.04.1 LTS laptop. I already have LAMP installed and in use.

The installation instructions involve unpacking a tgz file - (not using the apt-get method).

But, in the online instructions it says to edit a config file in the /etc/mediawiki directory.

BUT - I don't have an /etc/mediawiki directory !!!

Obviously there is a step missing in the instructions !!


Regards

Nick

88.130.98.62 (talkcontribs)

Hi Nick,

which tutorial do you follow and which file should you edit?

Since you say it is located inside the mediawiki/ directory, I guess it is LocalSettings.php?

82.219.14.93 (talkcontribs)
82.219.14.93 (talkcontribs)

I've checked in the /var/log/apacahe2/error.log file, and I see this error:

[Fri Jan 23 13:51:02.156433 2015] [:error] [pid 16920] [client 127.0.0.1:53038] PHP Fatal error: require_once(): Failed opening required '/var/lib/mediawiki/includes/Init.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/mediawiki/includes/WebStart.php on line 94

I don't have a /var/lib/mediawiki/includes/Init.php file.

AND - what is /usr/share/mediawiki directory doing on my system ??? I unpacked the tgz file into /var/lib/mediawiki !!!!

82.219.14.93 (talkcontribs)

Ah, Looks like my laptop came with /usr/share/mediawiki preinstalled. Probably manually installing mediawiki is scewing things up.


Nick

Reply to "Installation issues No /etc/mediawiki directory"