WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Need Help " running PHP version 4.4.9 but WordPress 3.2.1 requires at least 5 (22 posts)

  1. bryanwilson2007
    Member
    Posted 2 years ago #

    So I tried to update WordPress to 3.2.1 manually, because it wasn't working otherwise, but I guess I screwed up somewhere. I got this message: "Your server is running PHP version 4.4.9 but WordPress 3.2.1 requires at least 5.2.4."

    I'm really new at this and I tried searching this in the forums and honestly didn't understand how to fix it from other people's suggestions. I use 1&1 to host my site.

    People on the other threads were saying something about a .htaccess file. I don't see that in my FTP client (which is Cyberduck). Is anyone able to help me out with this? Sorry for being such a newbie.

  2. Cyberduck should be set up by default to show hidden files, so if you don't have one then you'll need to make one.

    But if the advice was to add a line into your .htaccess to define PHP5 explicitly then yes, you do need to do that :) 1&1 should have directions.

  3. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    when you tried an auto update was there an error msg about php version?

    The published requirements are the minimum versions of PHP MySQL required, so the only way to gets it working is to get 1&1 to update PHP (& MySQL if required) or move to a better hosting company

  4. bryanwilson2007
    Member
    Posted 2 years ago #

    Thanks, I talked to 1and1 and figured it out!

  5. MickeyRoush
    Member
    Posted 2 years ago #

    In case anyone else is having problems like this and especially if you're using 1and1 ( 1&1 ), you'll need to ad the following to the very top of your root .htaccess file:

    AddType x-mapp-php5 .php

    By default 1and1 ( 1&1 ) it's set for PHP4, so you'll need to add that to your .htacces file to use PHP5

  6. Lightning Rod
    Member
    Posted 2 years ago #

    I still get the same error message, even after I've created the .htaccess file, when I try to install WordPress on my 1&1 server:

    “Your server is running PHP version 4.4.9 but WordPress 3.2.1 requires at least 5.2.4.”

    Created an .htaccess file (text file) with the following data as instructed by 1&1 support):

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    RewriteEngine on

    And uploaded it to the root directory of a subfolder of my site (where WordPress is installed) – same level as the 'file index.php' - and still get error message as above.

    Any suggestions appreciated.

  7. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    Contact 1&1 or move to a better hosting company

  8. MickeyRoush
    Member
    Posted 2 years ago #

    I still get the same error message, even after I've created the .htaccess file, when I try to install WordPress on my 1&1 server:

    “Your server is running PHP version 4.4.9 but WordPress 3.2.1 requires at least 5.2.4.”

    Created an .htaccess file (text file) with the following data as instructed by 1&1 support):

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    RewriteEngine on

    And uploaded it to the root directory of a subfolder of my site (where WordPress is installed) – same level as the 'file index.php' - and still get error message as above.

    Any suggestions appreciated.

    Without seeing your entire site root .htaccess file I could only guess.

    Just add this to very top (so it will be the first directive):
    AddType x-mapp-php5 .php

  9. cmadriles
    Member
    Posted 2 years ago #

    Hey guys forget the .htaccess folder... listen up!!!! If you are using 1&1 for your hosting... SOme guy posted this on another post in this forum... worked for me!

    "I had to reply to this...i just wasted 2 1/2 hours searching, and making, renaming .htaccess a million times, via 1&1 web space access, and filezilla.
    What worked for me, i just deleted me .htaccess file in my root folder, where the index.php folder is.

    then, in the 1&1 control panel, under "Domains and Web Space" then under "Web Space" go to the link "Global PHP Version" then change it to "php5"

    This was for 1&1 Home Linux hosting.
    Good Luck. Hopefully it wont take you as long it did for me"

    A big thanks to djciscoelnino for saving my life! Hope this helps guys...

  10. novem
    Member
    Posted 2 years ago #

    Thanks cmadriles for sharing what you discovered here, and I'm glad my search brought me here immediately, so I didn't have to contact 1and1. This webhost is among the most affordable (with its 6-month payment scheme, in contrast to others' 3-year scheme to be able to get the cheapest plan rate) among the large webhosts, but oftentimes we do things on our own. I rarely ask things from 1and1 because sometimes they give the right solutions, sometimes they don't. I just have to bear it because I can't afford yet the other hosts.
    Thanks also to djciscoelnino.

  11. novem
    Member
    Posted 2 years ago #

    By the way, cubecolour, how do we get a link like yours via your username? Thanks a lot. Sorry that it's not related to the original forum question.

  12. novem - S'okay :) Edit your profile so you have a URL listed (which I see you have).

    Now. Wait.

    There's a secret formula that, after a set period of time, will magically make your name show up as a link too.

  13. novem
    Member
    Posted 2 years ago #

    Wow, Ipstenu, that was fast! Thanks. So then I'd just have to wait for the magic. Thanks

  14. gino31
    Member
    Posted 2 years ago #

    I'm a WordPress and 1&1 novice. Can someone tell me where/how I can locate the .htaccess file? I'm trying to install WP and I too am receiving the "Your server is running PHP version 4.4.9 but WordPress 3.2.1 requires at least 5.2.4."

    Thank you.

  15. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Check 1&1's support documentation/knowledgebase. From what I recall, you need to create an .htaccess file in the domain root folder.

  16. trailhop
    Member
    Posted 2 years ago #

    Here is what 1&1 support told me to do. It took less then a minute.

    • Log into your 1&1 admin panel.
    • Under "Domains & Web Space > Webspace > click "Global PHP Version"
    • Next to "PHP Version" is a drop down box. Click the arrow and select "php 5" then click "Save"

    It was very easy and worked for me. Hope this helps someone.

  17. gino31
    Member
    Posted 2 years ago #

    Thank you! It worked. Much appreciated.

  18. trailhop
    Member
    Posted 2 years ago #

    You're welcome. Glad it worked.

  19. IainPurdie
    Member
    Posted 2 years ago #

    I'd just like to say "thanks" to cmadriles. I just went to add a new blog post to a blog that's been sat there on 3.2.1 since the day the version was released... and got the error message about PHP being wrong.

    What's nuts is that I have three 3.2.1 WordPress installations using the same webspace. Their .htaccess files are (allowing for site-specific details) identical, their layouts are the same, etc. And yet for some reason only this one blog was affected - and some time after I had updated to 3.2.1.

    Whatever the reason, at least it's now fixed. Thank you!

  20. ButtercupBus VW Campers
    Member
    Posted 2 years ago #

    Nice on cmadriles - this worked really well for me!

  21. emailesw
    Member
    Posted 2 years ago #

    I am using media temple hosting. It is giving me following error..

    Your server is running PHP version 4.4.9 but WordPress 3.2.1 requires at least 5.2.4.

    Any idea how can I remove it.

  22. sarthaksinghal
    Member
    Posted 2 years ago #

    @emailesw

    Can you try adding the following after # END WordPress
    SetEnv PHP_VER 5_TEST

Topic Closed

This topic has been closed to new replies.

About this Topic