Installing MediaWiki on 1&1

Posted by Johan Cyprich on 17 Aug 2007 | Tagged as: Applications, Tech Tips

I recently tried to install MediaWiki on my account with 1&1 I couldn’t get past the second installation page. The software couldn’t find /config/index.php even though the file was in that subfolder. After some experimentation, I came up with a solution to install MediaWiki.

  1. Copy the MediaWiki installation files to your web site address folder.
  2. Rename the config folder to configuration.
  3. Create a folder called config and give it full read/write permissions.
  4. Create an .htaccess file in the root of your web site. Open the file and add the following line to it:

    AddType x-mapp-php5 .php

  5. Open the web site address in your web browser and click set up wiki.
  6. You’ll get an error message titled “Multiple Choices”. The installer can’t find /config/index.php. Go to the address bar in your web browser and change the config word to configuration. Open the page the address bar is pointing to. The URL should look something like this:

    http://www.yourwiki.com/configuration/index.php

  7. Fill out all of the required fields to install mediaWiki.
  8. After installation is complete, move the /config/LocalSettings.php file to the root folder and your wiki is ready to go.
  9. Remove all write privileges to the config folder that you created earlier.

Banner


Related posts:
    Installing Flash Player in Fedora
    Installing Fireboard in Joomla 1.5
    Installing Firefox 2.0 on Fedora 6
    Dreamweaver 8 Losing FTP Settings

Share this post:

del.icio.us:Installing MediaWiki on 1&1 digg:Installing MediaWiki on 1&1 spurl:Installing MediaWiki on 1&1 wists:Installing MediaWiki on 1&1 simpy:Installing MediaWiki on 1&1 newsvine:Installing MediaWiki on 1&1 blinklist:Installing MediaWiki on 1&1 furl:Installing MediaWiki on 1&1 reddit:Installing MediaWiki on 1&1 fark:Installing MediaWiki on 1&1 blogmarks:Installing MediaWiki on 1&1 Y!:Installing MediaWiki on 1&1 smarking:Installing MediaWiki on 1&1 magnolia:Installing MediaWiki on 1&1 segnalo:Installing MediaWiki on 1&1 gifttagging:Installing MediaWiki on 1&1

Follow Me:

Did you find this post interesting and useful? You can keep up to date on this blog by subscribing to my RSS feed, or you can have new posts sent to you by e-mail. You can also follow me on Twitter.


7 Responses to “Installing MediaWiki on 1&1”

  1. on 11 Sep 2007 at 9:50 am 1.Daniel said …

    Hey I used to have a 1&1 account and I was thinking about getting it again so I could host a wiki but I was wondering if you were able to get the Math (and images) processing stuff working.
    I have had a lot of issues trying to do it on my Mac for local testing and I also don’t want to pay for the hosting and then find out the needed unix packages aren’t available.

    Cheers,
    Daniel

  2. on 11 Sep 2007 at 1:00 pm 2.Johan Cyprich said …

    Is this a library in MediaWiki that your having problems with?

  3. on 26 Sep 2007 at 5:45 am 3.linux-blog » Blog Archive » Installation von MediaWiki beim Provider 1und1 said …

    [...] folgen mit der nachfolgenden Beschreibung in Teilen einem Blog-Artikel von Johan Cyprich (http://www.cyprich.com/2007/08/17/installing-mediawiki-on-11/#), auf den wir als zusätzliche Lektüre gerne verweisen. Zur generellen Einführung in MediaWiki [...]

  4. on 12 Oct 2007 at 7:26 am 4.Vox said …

    Thanks for this tip, that was very very usefull to install Wikimedia on my 1&1 server !

    That must be included by default in Mediawiki script !!!

  5. on 12 Oct 2007 at 11:11 am 5.Johan Cyprich said …

    It should be included. There isn’t much help with installation problems in the MediaWiki documentation.

  6. on 23 Feb 2008 at 12:29 am 6.Goyal said …

    Hi,

    I was able to setup Mediawiki on 1and1. However, do you know how to configure email support for the Wiki on the same installation?

    Regards,
    Amit

  7. on 02 Mar 2008 at 2:39 pm 7.James Reyes said …

    One thing I would add is that since you are changing the name of the config directory, you will need to edit the /config/index.php file on line 756 to change the chdir function to look at the renamed directory:

    $wgCommandLineMode = true;
    $wgUseDatabaseMessages = false; /* FIXME: For database failure */
    require_once( “$IP/includes/Setup.php” );
    chdir( “config” );

Trackback This Post | Subscribe to the comments through RSS Feed

Leave a Reply