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.

Crazy sessions php

Discussion in 'General Discussion' started by FeeL, Mar 4, 2011.

  1. FeeL

    FeeL Well-Known Member

    Joined:
    Apr 17, 2004
    Messages:
    135
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    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?
     
  2. FeeL

    FeeL Well-Known Member

    Joined:
    Apr 17, 2004
    Messages:
    135
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    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!

    :-\
     
  3. MattLee

    MattLee BANNED

    Joined:
    Aug 26, 2009
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  4. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hey,

    For PHP 5.3.x , installing zend guard loader is a fix though. But it needs to be installed manually.
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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.
     
Loading...
Similar Threads - Crazy sessions php
  1. boing
    Replies:
    2
    Views:
    205

Share This Page