FeeL

Well-Known Member
Apr 17, 2004
134
2
168
Rio de janeiro
cPanel Access Level
Reseller Owner
Hi there!

My PHP sessions are lost..
WHMCS gives me "invalid token" after i login, in every input i make.
My main home page also is not loading, giving me the error.

---
G??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
Fatal error: Call to undefined function startSession() in /home/zzz/public_html/index.php on line 30
----

The /tmp is secured, with the proper mermissions.

I even tried the easyapache instalation again, looking carefully to all the configs.

Main >> Service Configuration >> PHP Configuration Editor

Gives me the following (attached) concerning the sessions.

sessions-php.png

Is there any configuration that i am missing to aneble the sessions to work properly?
 

FeeL

Well-Known Member
Apr 17, 2004
134
2
168
Rio de janeiro
cPanel Access Level
Reseller Owner
Cpanel support helped me again.
We´ve recompiled easyapache with the previous php version and now it is all ok.

This seemed to be a Zend issue, since the new php has no Zend support!

:-\
 

MattLee

BANNED
Aug 26, 2009
83
0
56
Hello,

This is correct; PHP 5.3.X doesn't currently have Zend support. I've been seeing a lot of PHP issues where the problem is simply that the user is running off the 5.3.X tree; mostly CMS sites like Joomla so a downgrade is definitely worth trying if you're noticing issues like above even if the error isn't exactly the same.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
You may wish to provide the steps you've used to install it manually to get it to work with cPanel if you'd like, cPtechie.