Manual talk:Installing MediaWiki

Jump to: navigation, search

About this board

archive of this page


Xoristzatziki (talkcontribs)

If you untar the archive as root, the files will end up owned as user # 1000???

If you untar the archive as root, You will end with files owned by root.

Northernhenge (talkcontribs)

On my Fedora Core system, the first standard user I created ended up with UID 1000. I think that's fairly standard. --~~~~

Xoristzatziki (talkcontribs)

This is the standard linux behaviour. That is exactly the question. When you untar an archive as root, the files will end up owned by root and not by a normal user (the first one has 1000). Which means that "If you untar the archive as root ... will not end up owned as user # 1000".

This comment was hidden by AhmadF.Cheema (history)
Reply to "unclear"
Ob.helm (talkcontribs)

I found the explanations under the heading Prepare the directories insufficient. Since I failed to update existing Wikis, after a change of the provider, I tried to make fresh installations of MediaWiki 1.20 and failed again. Following the recommendation: "Depending on the server configuration, in some cases you have to check all boxes (777) in FileZilla, to be able to run the installer." I got the error message:

Please check and correct
- File permissions to chmod 644 (for all files php, html, etc.)
- Directory permissions to chmod 755 / html / *
- Owner and group webX (your account - for example, web1)
- Hosting Control Panel -> httpd-spezial -> mod-rewrite -> On
- .htaccess file for typographical errors or incorrect commands.

This was the hint to success. On the server in question, it was chmod 755 instead of chmod 777 and for the files chmod 644. Hope, this is helpful to others.

This comment was hidden by AhmadF.Cheema (history)
Reply to "Prepare the directories"
MeekMark (talkcontribs)

I noticed on Manual:Installation guide that PHP is a requirement, but no mention of it is on this page. A section on installing for Windows and *nix would be helpful.

~~~~

Ciencia Al Poder (talkcontribs)

PHP is mentioned in Manual:Installation requirements with all the needed versions and modules. Apart from that, installation of PHP is out of scope here since it's a generic piece of software and php.net website has updated manuals about its installation on different platforms.

Reply to "php"
Kaldari (talkcontribs)

Shouldn't this page at least mention Composer? Having Composer installed seems to be a requirement for running update.php in MediaWiki now.

Kaldari (talkcontribs)

I added mention of Composer and try to organize the info for developers a bit better.

194.115.215.69 (talkcontribs)

Shouldn't this page mention, which external dependencies are needed to be installed or at least link to somewhere, where it's written. I'm struggeling with this right now!

Karenbloodknla (talkcontribs)

မာယာမ်ား

Reply to "Composer"
SpartanGuy07 (talkcontribs)

I'm trying to install a wiki on my server. I've been following the instructions on the installation and configuration pages, however, when I navigate to the wiki mainpage (the server IP) I receive the following error:

MediaWiki 1.21.2 LocalSettings.php not found. Please set up the wiki first.

When I clicked the link for setup (run the ms-config/index.php script) the page is completely blank.

I tried running the script manually through SSH and found I was experiencing this error "Fatal error: Class 'DOMDocument' not found in xxxxxxxx/Preprocessor_DOM.php on line nnn". I found the solution to be that my server did not have a XML module that was needed, so I installed that and now the script appears to work through SSH, however, I still see the page that tells me to setup the wiki and I still see a blank page when I click the link. Since there is no error here or on the SSH side, I'm not sure where to go from here. Any help would be greatly appreciated.

SpartanGuy07 (talkcontribs)

Turns out all I needed to do was restart apache after downloading the module!

185.5.183.195 (talkcontribs)

Same problem, the module was php-xml

Reply to "[Resolved] Blank page"
80.236.53.101 (talkcontribs)

Hi,

not sure this is the proper way to report an issue -- please please point me to the right direction if not. I'm trying to install Mediawiki on CPanel (Apache, PHP 5, MySQL 5.5), and I have the following issues with 1.23.8 and 1.24.0.

The first issue is a variable not instantiated in the SQL install script, generating the error:

A database query error has occurred. This may indicate a bug in the software. CREATE TABLE `user` (...) ENGINE=, DEFAULT CHARSET=binary

I shortened the SQL query intentionally, showing only that the issue is the missing ENGINE value. When I correct the maintenance/tables.sql script to replace /*$wgDBTableOptions*/ by "ENGINE=MyISAM, DEFAULT CHARSET=Binary, the script runs correctly.

The second issue comes right after, in the form of an error 500, no trace in the apache error_log. I tried fixing permissions on the imgages folder, to no avail. I'll try to debug further, and will post back here if I find anything, but any help would be appreciated. Thanks

Nemo bis (talkcontribs)

As the comment says, you need to set $wgDBTableOptions. This is done by the installer: if you used a CPanel install process, please report the bug to them.

80.236.53.101 (talkcontribs)

No, I didn't use the CPanel install process, just the classic mw-config script.

Nemo bis (talkcontribs)

Thanks. Installer is a semi-abandoned component, so we have chances to get this fixed but only if you file a good report (against #MediaWiki-Installer), detailing exactly what LAMP stack you're using, what steps you followed and what's the resulting LocalSettings.php file. This is typically easier if you try to follow the steps from the beginning and write them down in the process.

Reply to "Auto-installer issues with MySQL1"
Kghbln (talkcontribs)

This post was posted by Kghbln, but signed as Northernhenge.

Reply to "Postgresql schema"
120.149.99.17 (talkcontribs)

How do you do it?

Reply to "How to set this up with phpmyadmin?"

Challenges with recognition of Mysql installing Mediawiki 1.21.2

1
Mkolb (talkcontribs)

I've tried many different binaries to get mediawiki to install but it will not recognize the php drivers for PHP. Win7 mediawiki 1.21.2 mysql 5.6.13 php 5.3.27 - threadsafe apache2.2 If I launch phpinfo it shows mysqlnd enabled. What may I be missing?

Reply to "Challenges with recognition of Mysql installing Mediawiki 1.21.2"
Cmach7 (talkcontribs)

When I installed Mediawiki on my windows 7, it won't let me go on my wiki! HELP PLEAAAAAAAAASSSSSSSSSSSSEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!!!!!!

Jasper Deng (talkcontribs)

Could you not shout, and provide more details about your system's setup?

Reply to "Help me with my wiki on Windows 7!"