Topic on Project:Support desk

[RESOLVED] It says I need php v5.3.2 but I have 5.3.27 and it reports I have 5.2.17

6
Eckre~mediawikiwiki (talkcontribs)

I am trying to update a WIKI

http://www.darrellx.com/hifi/index.php5?title=Main_Page

Product Version

MediaWiki 1.23.5

PHP 5.3.27 (cgi-fcgi)

MySQL 5.5.37-cll

And I get this error:

MediaWiki 1.23 internal error

MediaWiki 1.23 requires at least PHP version 5.3.2, you are using PHP 5.2.17.

Which is not correct because:

http://www.darrellx.com/hifi/phpinfo.php

Shows that I do indeed have PHP Version 5.3.27

It did go through the complete upgrade process fine.

My .htaccess looks okay (I think) and php.ini looks like the v5.3 too.

I just reuploaded all the mediawiki files last night and tried to reinstall, it worked fine until the last "go see your wiki" page.

My host confirms I have the 5.3.27 version but they don't know why mediawiki is incorrectly reporting this. this isn't my first mediawiki rodeo, but I am a newbie.

Any thoughts?

This post was posted by Eckre~mediawikiwiki, but signed as Eckre.

88.130.90.201 (talkcontribs)

> Any thoughts?

Yes! :-)

When I call your wiki with the index.php5 file, then I get exactly the PHP version error you pointed to.

When I however call it using the index.php file (without 5 in the name), then it is working.

In your configuration, php5 files are obviously parsed by the wrong PHP version.

(Apart from that there is no need to call the php5 files; just using the php files will do, but that is another topic.)

Eckre~mediawikiwiki (talkcontribs)

Thanks for the reply! So... what should I do to fix this? How do I parsed the php files to the right PHP version? (I did google around for this a bit)

This post was posted by Eckre~mediawikiwiki, but signed as Eckre.

88.130.90.201 (talkcontribs)

That depends. Question is: How do you parse it with the wrong one? => Change it to the right one. This might e.g. be an AddHandler directive in your .htaccess file or somewhere else in the server config. Your hoster should know!

Eckre~mediawikiwiki (talkcontribs)

You are the man 88.130.90.201! Thanks so much, my hoster added this handler to the htaccess: "AddHandler application/x-httpd-php53 .php5" and it worked perfect, you helped me point them in the right direction and they didn't catch it until I told them what you said! It's working perfectly now. Ah! yay! thank you so much! I could never **ever** have done that without you.

This post was posted by Eckre~mediawikiwiki, but signed as Eckre.

88.130.122.124 (talkcontribs)

(This is the kind of comment, which makes me continue posting here. This makes my day! :-))

Reply to "[RESOLVED] It says I need php v5.3.2 but I have 5.3.27 and it reports I have 5.2.17"