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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Phalcon.so not compiled on PHP5.5 upgrade

Discussion in 'EasyApache' started by iso99, Sep 14, 2015.

  1. iso99

    iso99 Well-Known Member

    Joined:
    Jan 5, 2011
    Messages:
    103
    Likes Received:
    7
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    I upgraded PHP a few minutes ago and I'm using the phalcon 3rd-party module. Somehow, the phalcon extension was not compiled and Apache is returning an error:

    Code:
    PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20121212/phalcon.so'
    I tried copying from no-debug-non-zts-20100525/ but PHP returns incompatibility error messages:

    Code:
    PHP Warning: PHP Startup: phalcon: Unable to initialize module
    Module compiled with module API=20100525
    PHP compiled with module API=20121212
    Any advice?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,679
    Likes Received:
    299
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. iso99

    iso99 Well-Known Member

    Joined:
    Jan 5, 2011
    Messages:
    103
    Likes Received:
    7
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Yes, I'm using that module
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,370
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Are you using a custom php.ini file for this account? For instance, if you upload a PHPINFO file to the same directory and open it in a browser, which php.ini file is referenced?

    Thank you.
     
  5. iso99

    iso99 Well-Known Member

    Joined:
    Jan 5, 2011
    Messages:
    103
    Likes Received:
    7
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    No, just global php.ini. If it helps, I'm using Cloudlinux with mod_lsapi as well.

    My problem is that phalcon.so was not on extension dir 2012xxxx.
     
  6. iso99

    iso99 Well-Known Member

    Joined:
    Jan 5, 2011
    Messages:
    103
    Likes Received:
    7
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    I don't know what happened with the plugin, I just manually compiled Phalcon instead. Fixed now.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,165
    Likes Received:
    1,370
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
Loading...

Share This Page