conner05

Registered
Oct 15, 2013
2
0
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.
 

conner05

Registered
Oct 15, 2013
2
0
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.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
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.