SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    3
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Noob: Site requires PHP 5.2 or greater to install. You have: PHP 4.3.2

    Hi, forgive my lack of knowledge.

    I am pretty new to web designing, and know practically nothing about PHP, but have made one site successfully before which included PHP, so am making a second in the same manner. I have just begun installing the CMS Perch on the site but when I went to run the setup, I received the message:

    "Perch requires PHP 5.2 or greater to install. You have: PHP 4.3.2"

    I have done a search of the web, but not found any answers I understand. Is this something I can resolve myself? If so maybe a layman's terms explanation might help me. Alternatively should I contact the website's host, which I understand is a small company (I am redesigning the site for a client).

    Any help is much appreciated, sorry if this is super simple...

    Thanks,

    BBA!

  2. #2
    Non-Member
    Join Date
    Oct 2007
    Posts
    363
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    There are different versions of php. Php 4.xxx is quite old now, but 4.3.2 is the version installed on that particular server.

    You need to contact the people in charge of the hosting to ask them how to upgrade php to the latest version. Be careful doing this if you have other sites running from the same php installation on the same host though, because old sites may stop working if they were coded for php4 and you suddenly upgrade to php5.

  3. #3
    SitePoint Wizard
    Join Date
    Oct 2005
    Posts
    1,832
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    I cannot imagine any credible web hosting company running a PHP version that old unless they were also running PHP 5.x. Yes, you will have to contact your web host. I would imagine they are running both PHP 4.x and PHP 5.x and require an entry in an htaccess file or some other configuration change to enable use of PHP 5.x. That's the way many hosts were doing it two or three years ago before they started dropping PHP 4 entirely.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,096
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Yes, it should be straightforward to ask your host to upgrade to PHP 5.2 or higher. If they won't, move to a better one, because no self respecting host should be serving up PHP 4 now.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  5. #5
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    No self respecting host should be using anything lower then 5.3 what with everything below that no longer getting security updates.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  6. #6
    SitePoint Zealot
    Join Date
    Jun 2010
    Location
    Arizona
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The PHP developers would say, "No self-respecting host should be using anything lower than 5.4." I'm on the PHP dev mailing list (mostly lurking) just to keep an eye on them since I use PHP extensively. Their general attitude is to not support older versions at all but they do one previous version just because it takes time to upgrade software.

    To answer the original question, you need to contact your host about upgrading to a relatively recent version of PHP - this is something only they can do. If they won't, then it will be time to find a different web hosting provider.
    Thomas Hruska

    Single Sign-On Server/Client - The PHP login system that rocks.


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
  •