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 php.net/manual/fi/function.stripos.php 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.
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.