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:
    87
    Likes Received:
    2
    Trophy Points:
    8
    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:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. iso99

    iso99 Well-Known Member

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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,694
    Likes Received:
    654
    Trophy Points:
    113
    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:
    87
    Likes Received:
    2
    Trophy Points:
    8
    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:
    87
    Likes Received:
    2
    Trophy Points:
    8
    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:
    30,694
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - Phalcon compiled PHP5
  1. vacancy
    Replies:
    1
    Views:
    158

Share This Page