Support » Requests and Feedback » WordPress Requirements Page needs to be updated.

  • On the requirements page at it says “PHP version 4.2 or greater.” This is no longer true for the new 2.3 release. I believe that php 5 is required (the code uses stripos, which is a php 5-only function according to php docs).

    I’m glad I backed up my files before installing 2.3! It would have saved a newbie some time if that requirements page had been correct.

    By the way, this window I am now typing in to make this post asks “What version of WordPress are you using?” and does not offer “2.3” as a choice.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Jeremy Clark



    works perfect for me with php 4.4.7.

    No, 4.2 is the correct minimum PHP level.

    The developers put a version of the stripos function in wp-includes/compat.php

    Jeremy: I don’t understand why it’s working for you. I also have php 4.4.7, but WordPress 2.3 fails with “no such function stripos” in wp-includes/query.php. The php manual at says that stripos is supported only in PHP 5. That’s why I believe that php 5 is required for WordPress 2.3.

    Thanks Michael: I see the compat.php and it does define stripos, but I nevertheless get the “no such function” error. I suppose it’s not getting executed in time, but I don’t know why.

    One theory is that I was trying to use the “maintenance mode” plug-in to put up that nice “come back in an hour” screen while I was updating – I saw that suggested somewhere and that people were successfully using that while upgrading to 2.3. I suppose I’ll try again with that turned off and see if that was the problem.

    Jeremy Clark



    I have multiple blogs running 2.3 as well as the latest trunk all under 4.4.7. As michael pointed out if you look in wp-includes/compat.php you’ll see the function included at the bottom.

    What exactly are you doing when you see the error.

    Perhaps you have a plugin that is stubborn about the php version. Try disabling some and keep trying.

    When I deactivated the “maintenance mode” plug-in, release 2.3 installed fine for me. Thanks for all your help.

    So, even though the page for the plug-in says it is compatible with 2.3, I guess that it won’t work while upgrading to 2.3 unless a newer version of php is installed than what I have.

    It isn’t really a good idea to keep plugins enabled while updating (for smaller scale updates it’s fine (such as version 2.3 to 2.3.1, for example) but it’s really not a good idea otherwise.

    It shouldn’t affect it, but most of the time it is good to disable all plugins while updating to larger scale version of WordPress.

    That error was a little odd though, I have to admit.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress Requirements Page needs to be updated.’ is closed to new replies.