Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

EA4 compiling a module for 55 or 56 problem

Comments

7 comments

  • cPanelMichael
    So I tried to compile for 56 or 55 but Im getting these errors [19-Apr-2017 11:59:32 America/New_York] PHP Warning: PHP Startup: phalcon: Unable to initialize module Module compiled with module API=20131226 PHP compiled with module API=20121212 These options need to match in Unknown on line 0

    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? Also, does the server use CloudLinux with CageFS enabled? Thank you.
    0
  • ehask71
    No this is a centos box. When I compile and enable for 56 it breaks everyone running 56 server wide. No custom phone.ini. I'm not in front of a PC but I will upload a phpinfo in a few
    0
  • Mark Shaw
    Hello Eric, I would recommened reinstall cphalcon, to do this complete the following steps: download and unzip cphalcon-master.zip cd cphalcon-master/build/64bits make clean phpize --clean /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-config make && make install I believe once you do this and it is reinstalled that this should correct all of the issues. Regards, Mark S.
    0
  • ehask71
    I need to use the 2.1.x version which isnt php7 production ready so I am forced to compile for php 5.5. Your commands would most likely work for 7 but I need to use the commands I posted The php.ini is /opt/cpanel/ea-php55/root/etc/php.ini
    0
  • cPanelMichael
    Hello, Feel free to open a support ticket using the link in my signature so we can take a closer look and rule out any issues with how the php.ini file is utilized as part of the MultiPHP functionality. You can post the ticket number here and we will update this thread with the outcome. Thank you.
    0
  • ehask71
    I was able to get the module to compile using a different version per the customers request 1.3.5 pf CPhalcon. I will say that CPanel is not the issue it is CPhalcon 2.x.
    0
  • cPanelMichael
    Hello, I'm glad to see you were able to get it working. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.