SOLVED [EA-6844] EA4 - Can't get Phalcon working

Jaffery

Member
Mar 15, 2011
16
0
51
I have been messing from almost 2 days but can't get phalcon work on EasyApache 4.

I have searched the forum and seems others too faced similar problem but without finding any solution.

So, cPanel provides an easy way to include phalcon 3.2.2 via EasyApache4 interface in it. I suppose, before releasing, they test it properly since they ask for money to use cPanel and its feature.

Now I installed via easy apached, uploaded my phalcon based webapp and now it doesn't work.
If I use PHP-FPM then I get 403 on page and following in php-fpm logs:

Code:
(104)Connection reset by peer: [client 139.x.x.110:1326] AH01075: Error dispatching request to
If I switch to cgi or fastcgi etc. then I get 500 error on page and following in logs :

Code:
[core:error] [pid 19991:tid 139894894606080] [client 139.x.x.74:58586] End of script output before headers: index.php
I tried a blank / simple project from phalcon to test out, same error on that one too, so I suppose no issue with script I created using phalcon. Its something to do with configuration.

But phpinf() shows phalcon installed .

Can anyone advice ?
 

Jaffery

Member
Mar 15, 2011
16
0
51
Apparently phalcon.so provided by cPanel itself is buggy. Got it working when was able to compile my own but instruction to compile from source at official phalcon are not suitable for cpanel install, you need to provide phpize , php-config path for each php version for which you are compiling.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,272
1,296
363
Houston
Hi @Jaffery


There are some issues with phalcon on older processors. We have a case EA-6844 in which it was found that When run on a processor without AVX support, the Phalcon PHP extension as provided by EA4 is encountering a SIGILL. If this is what's occurring for you this issue will not be resolved until Phalcon provides a patch from my understanding of the case.


Thank you.