Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Page 1 of 2 12 LastLast
Results 1 to 15 of 17

This is a discussion on need a little assistance on why Wordpress is giving me a PHP version error. in the Website Management forum
hello there, I'm not very active member here. I just lurk most of the time and find things that are helpful to me. Today I've ...

  1. #1
    Squeegy Boy TeeJay's Avatar
    Join Date
    Feb 2002
    Location
    Nueva Ecija
    Posts
    147

    need a little assistance on why Wordpress is giving me a PHP version error.

    hello there, I'm not very active member here. I just lurk most of the time and find things that are helpful to me.

    Today I've decided to upgrade some of my applications for example Wordpress.

    I went to Fantastico and it say upgrade to 3.3.1

    Now when I viewed my WP site. It gives me an error of
    "Your server is running PHP version 4.4.9 but WordPress 3.3.1 requires at least 5.2.4."

    Under cPanel. I checked that the PHP version says 5.2.17

    I'm confused why the error is telling me that I am running 4.4.9

    Does this mean I have to go to my WP config and check it there?

    thanks

  2. #2
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,312
    I'd also check your .htaccess file for a different version of php as a file handler.

    If you can make a temporary file in the wordpress directory call it versioninfo.php
    Code:
    <?php
    phpinfo();
    ?>
    and point your browser at it, it can give you what version of php you're running and other hints as to where the version might be getting set.

    When you're done, don't leave that versioninfo.php file in your webspace, it is a small security risk.
    Good luck!
    Good luck

  3. #3
    Squeegy Boy TeeJay's Avatar
    Join Date
    Feb 2002
    Location
    Nueva Ecija
    Posts
    147
    thanks for your reply

    btw, my skillset is not that great when it comes to codes. I will try to take a stab at the htaccess and WP. My site is purely for my personal (family) use and hobby. It's far from what I do for a living :-(

    I'm also wondering if my issue qualifies for a tech support ticket but I thought I'd see if the members can help me first. Again thank you.

  4. #4
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,312
    What kind of account do you have, shared hosting? Yes, I think that support would be happy to help you. Just open a ticket!
    Good luck

  5. #5
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Do they still have PHP4 & PHP5 installed on all servers, Ronnie?

    Seems like you could specify 4 or 5 in the php.ini and/or .htaccess (too lazy to go look).

    You could even run PHP4 in one folder and PHP5 in another...
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  6. #6
    Squeegy Boy TeeJay's Avatar
    Join Date
    Feb 2002
    Location
    Nueva Ecija
    Posts
    147
    Sorry folks I hope I'm not coming across as being rude for not replying. I'm just not at home and would like to try Ron's suggestion first before saying anymore. I have to at least make and effort to try to resolve it before opening a ticket.

  7. #7
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,312
    Quote Originally Posted by Vin DSL View Post
    Do they still have PHP4 & PHP5 installed on all servers, Ronnie?

    Seems like you could specify 4 or 5 in the php.ini and/or .htaccess (too lazy to go look).

    You could even run PHP4 in one folder and PHP5 in another...
    Yes, IIRC it's specified in .htaccess; there is a server default that can be overridden for your account in CPanel, which modifies your primary .htaccess to accomplish that. It could be that in his wordpress directory there's an overriding .htaccess.

    Quote Originally Posted by TeeJay View Post
    I have to at least make and effort to try to resolve it before opening a ticket.
    If you wanna you can, but you can also ask for help first if you like.
    Good luck

  8. #8
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Yep! There she blows...

    Code:
    # Use PHP5 as default
    # AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml
    AddHandler application/x-httpd-php5-source .php5s
    Right at the top of my root .htaccess file.

    Do you use something similar?
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  9. #9
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,312
    Yours is commented out... as is mine, because php5 is the default on the server now. I think.

    Code:
    OPTIONS -INDEXES
    #AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml
    AddHandler application/x-httpd-php5 .wt
    Yes, files ending in .wt on my site are php files. LOL Long story.
    Good luck

  10. #10
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Oops! n/m
    Last edited by Vin DSL; 02-11-2012 at 11:07 PM. Reason: Addendum
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  11. #11
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,312
    Blurb sounds cool; does it provide phpinfo output as well?
    Good luck

  12. #12
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,312
    Nice demo, too!
    Good luck

  13. #13
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by Ron View Post
    Blurb sounds cool; does it provide phpinfo output as well?
    Quote Originally Posted by Ron View Post
    Nice demo, too!
    Sorry, I was temporarily distracted.

    Heh! I need to install that on my desktop machine...
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  14. #14
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Quote Originally Posted by Ron View Post
    Yes, files ending in .wt on my site are php files. LOL Long story.
    Don't worry about it.

    PHP is a flash-in-the-pan... Remember? LoL!
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  15. #15
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,312
    I dropped my attacks on php a while back and turned my flash-in-the-pan criticism towards the Apple iPhone immediately boosting Apple's stock price and making Apple the country's (world's?) most valuable corporation.
    Good luck

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •