Wanna buy one of our comics on a t-shirt and impress your freinds?

Click here to visit the Ivyhurst.com store!

Write Comment (0 comments)
MediaWiki on GoDaddy Print E-mail
Written by Scott   
Wednesday, June 6, 2007

ImageI've wanted to set up my own "wiki" here on Ivyhurst.com for a long time. Originally, this entire site was slated to be wiki-driven. If your going to do a wiki, MediaWiki is the way to go. It's the best, most widely accpeted wiki engine I know of.

That all sounds great, so I downloaded MediaWiki 1.7.1, extracted the files. Read the "Readme" (I know, who reads those...), and even checked the system specs. Everything looked good. So I uploaded MediaWiki, opened the site and started the configuration.

Right away, MediaWiki returned an error:

“PHP 5.0.0 or higher is required. ABORTING.”

Well, I had already checked, and according to GoDaddy.com, PHP 5.0 + was installed. Thus I'm sitting here thinking "WTF!?!?" Well, you see, there's always a catch!

Godaddy's servers may have PHP 5 on them, but it's not picked up by MediaWiki's configuration. So I started searching the web for answers. There had to be someone else with my problem. I even tried GoDaddy's tech support. They're usually good, but useless in this case. After a few weeks of searching (in vain), I gave up. Threw in the towel, I did! 

And so it came to pass that we went with Mambo for the site (as you can see, that's worked pretty well.) Still, I like having options. I want the option to set up a wiki.

After a long wait, a fellow GoDaddy hosted client e-mailed me today with an answer. (Thank you Georg B.!!)  In the spirit of giving, I'll post the solution here, in the hopes that it'll help someone else...

Solution:

It turns out that PHP 4 is still set as the "primary" PHP version for GoDaddy's shared hosting web servers. If you call GoDaddy's tech support, they'll tell you to modify your PHP scripts to change the file extensions for all of your PHP files. That's a ROYAL pain in the butt, given links, includes and the thousands of references to filenames in any PHP application. You can't do that. Not a valid option!

So, what are we to do?

Well, here's what you should do:

To fix the problem and install/configure MediaWiki 1.7.1 on your GoDaddy shared hosting account, add the following 2 lines to your .htaccess file:

AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4

That should allow the configuration script to run and your wiki will thrive.

Hopfully my regurgitation of another, better guru's solution will help some other poor sap like me... 

 Once I get a wiki going, I'll post a little update for the helluvit. Now, what do I need that wiki for again? I forgot... screw it, let's just go to WikiPedia and look at wierd crap...

 

 


References to other sources for this solution: 

 

 


User Comments

Security Check. Please enter this code Listen to code

Last Updated ( Tuesday, October 20, 2009 )
<Previous
http://ivyhurst.com, Powered by Mambo and Designed by Scott Howard at WNY Grants & Consulting