Hi,
I recently installed mediawiki 1.11.0 in public_html. At first, it prompted me that I am not using php5 and have to install via a .php5 link. I followed the link and came to a 'checking environment' page. At the page, it says PHP 5.25 is installed (?) and gave me the go-ahead to install mediawiki.
After the installation, I found that when I go to my domain (http://example.com), my browser prompted me to download a file with my domain's name as the filename. To see my page, I have to go directly to http://example.com/index.php5.
So I do a search and thought I can solve the problem by adding AddHandler x-httpd-php5 .php AddHandler x-httpd-php .php4 to .htaccess. Well, it doesn't work.
Anybody can advice? Is it possible in my case to use .php instead of .php5? Should I edit the .htaccess file before installation and not after? Any advice will be appreciated. Thanks.
Best Regards, Atticus
atticus@adventurevacationtrip.com wrote:
Hi,
I recently installed mediawiki 1.11.0 in public_html. At first, it prompted me that I am not using php5 and have to install via a .php5 link. I followed the link and came to a 'checking environment' page. At the page, it says PHP 5.25 is installed (?) and gave me the go-ahead to install mediawiki.
After the installation, I found that when I go to my domain (http://example.com), my browser prompted me to download a file with my domain's name as the filename. To see my page, I have to go directly to http://example.com/index.php5.
Try adding:
DocumentRoot index.php5
to .htaccess - since index.php exists the default in Apache config might be pointing to that.
MinuteElectron.
I would also suggest a rewrite rule to rewrite .php(?|$) into .php5 so that when someone goes to /index.php like many links do, it'll go to .php5 instead. But if possible, a better host would be ideal. Your host is most likely running PHP via CGI, which is going to give you far less performance and you may lack in a few of the MediaWiki features we all like to use.
~Daniel Friesen(Dantman) of: -The Gaiapedia (http://gaia.wikia.com) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) -and Wiki-Tools.com (http://wiki-tools.com)
MinuteElectron wrote:
atticus@adventurevacationtrip.com wrote:
Hi,
I recently installed mediawiki 1.11.0 in public_html. At first, it prompted me that I am not using php5 and have to install via a .php5 link. I followed the link and came to a 'checking environment' page. At the page, it says PHP 5.25 is installed (?) and gave me the go-ahead to install mediawiki.
After the installation, I found that when I go to my domain (http://example.com), my browser prompted me to download a file with my domain's name as the filename. To see my page, I have to go directly to http://example.com/index.php5.
Try adding:
DocumentRoot index.php5
to .htaccess - since index.php exists the default in Apache config might be pointing to that.
MinuteElectron.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org