[Mediawiki-l] Upgrade from 1.6.1 to 1.11 not going well (more)

Michael Daly michael_daly at kayakwiki.org
Tue Jan 22 19:47:50 UTC 2008


Sandy Rozhon wrote:

> Is this something I need to discuss with my website provider, or is 
> there a setting that I need to change somewhere in the Wiki itself, 
> or in LocalSettings.php?

Put .htaccess in the wiki root and inside it, add:

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

That will get files with the extension "php" to be handled by PHP5 and 
not PHP4.  If you need PHP4 for some specific reason, you can use the 
extension "php4" to access it.


This should fix the error message you received.

Mike






More information about the MediaWiki-l mailing list