Hi,
When I first installed mediawiki 1.11.0, I was prompted that I am not using php5 and have to install via a .php5 link. So I went ahead and added the following to .htaccess:
AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml
It's working fine now but all the URLs contain .php5 in them (eg http://example.com/index.php5?title=Help:Contents). How can I have nice URLs like mediawiki's (eg http://www.mediawiki.org/wiki/Help:Contents).
I also cannot help feeling that these .php5 pointings are making my wiki slow. When I ping both my wordpress blog and wiki. Wiki almost always take double the time.
I was wondering why I had the problem with .php5 in the first place. My host is using PHP version 5.2.5 and if it helps, Server API is CGI. Is it possible for me to for my wiki to use normal .php instead of .php5?
Any advice?
Regards, Atticus
It's working fine now but all the URLs contain .php5 in them (eg http://example.com/index.php5?title=Help:Contents). How can I have nice URLs like mediawiki's (eg http://www.mediawiki.org/wiki/Help:Contents).
http://www.mediawiki.org/wiki/Short_urls
Is it possible for me to for my wiki to use normal .php instead of .php5?
See: http://www.ehartwell.com/InfoDabble/HowTo:_Install_MediaWiki_on_a_GoDaddy_Va... Links to: http://help.godaddy.com/article.php?article_id=1082
-- Jim R. Wilson (jimbojw)
On Fri, Mar 28, 2008 at 11:31 AM, atticus@adventurevacationtrip.com wrote:
Hi,
When I first installed mediawiki 1.11.0, I was prompted that I am not using php5 and have to install via a .php5 link. So I went ahead and added the following to .htaccess:
AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml
It's working fine now but all the URLs contain .php5 in them (eg http://example.com/index.php5?title=Help:Contents). How can I have nice URLs like mediawiki's (eg http://www.mediawiki.org/wiki/Help:Contents).
I also cannot help feeling that these .php5 pointings are making my wiki slow. When I ping both my wordpress blog and wiki. Wiki almost always take double the time.
I was wondering why I had the problem with .php5 in the first place. My host is using PHP version 5.2.5 and if it helps, Server API is CGI. Is it possible for me to for my wiki to use normal .php instead of .php5?
Any advice?
Regards, Atticus
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
atticus@adventurevacationtrip.com wrote:
I also cannot help feeling that these .php5 pointings are making my wiki slow. When I ping both my wordpress blog and wiki. Wiki almost always take double the time.
Unless by "ping" you mean a program called "ping.php", the ping will not be affected by the php setting. It will be affected by other server setup parameters, but those would likely affect all domains on the same server. Is the extra time taken including or excluding the DNS lookup?
Assuming you have virtual host handling for both the blog and the wiki, you can confirm this by copying the "AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml" setting from the wiki virtual host section into the wordpress virtual host section. If that setting is outside of both virtual host sections, it should affect both equally.
Mike
mediawiki-l@lists.wikimedia.org