Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    16,518
    Likes Received:
    425
    Trophy Points:
    583
    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. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,231
    Likes Received:
    1,938
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice