The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Upgrading PHP with cPanel

Discussion in 'General Discussion' started by conner05, Oct 15, 2013.

  1. conner05

    conner05 Registered

    Joined:
    Oct 15, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I am a programmer who's new to servers and their functionality. I just finished uploading a site onto a cPanel where I have admin access. I am getting an error when the site is loaded: Fatal error: call to undefined function session_status(). That is how I am starting my sessions. Now, I have asked the question here: apache2 - Fatal error: call to undefined function session_status() - Server Fault I assume that the server is using an old version of php. The left pane says version 5.2.17. I need at least 5.4. I have 2 .htaccess files in the public folder. One is at the root level for the main site. There is another inside a folder containing an entire back-end to the main site. The one at root level has nothing in it, though there is no php code at that level (as of yet). Hence, it loads just fine. Now, when the backend is accessed is when the error occurs. The .htaccess in that folder supposedly has an AddType of php55 on it. If I am supposed to upgrade php on the server I am at a loss as to how that is accomplished. Thanks for any advice.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you do not have root access to the server, you should speak to your Hosting Provider about this. They can help. :)
     
  3. conner05

    conner05 Registered

    Joined:
    Oct 15, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I've contacted the admin and he is stumped. I figured since I seem to have administrator access (I haven't found anything I can't access) Then I should be able to do this myself, given the proper procedures.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You will need to consult with your web hosting company. It's not possible to upgrade PHP without root access to the server. If your web hosting company is unable to complete this, it's possible they are a reseller and must contact their hosting provider to request the upgrade on your behalf.

    Thank you.
     
Loading...

Share This Page