SOLVED easyapache 4 phalcon segmentation fault

vacancy

Well-Known Member
Sep 20, 2012
457
159
93
Turkey
cPanel Access Level
Root Administrator
Hello there

I've installed phalcon on a easyapache 4 and I see a segmentation fault on the php side.

I have tried installing php 5.5, 5.6 and 7 versions. I tried different phalcon versions (3.0.1-3.2.1-3.2.2) but could not solve the problem. I could install and run it 1-2 months ago without any problems.

The error that appears in the apache error log is:

[24-Sep-2017 11:02:04 UTC] PHP Fatal error: Class 'jsonserializable' not found in Unknown on line 0
 

vacancy

Well-Known Member
Sep 20, 2012
457
159
93
Turkey
cPanel Access Level
Root Administrator
yum install git
yum install gc
yum install pcre-devel

phalcon files download, after

/opt/cpanel/ea-php56/root/usr/bin/phpize

./configure --enable-phalcon --with-php-config=/opt/cpanel/ea-php56/root/usr/bin/php-config
make
make install

after php.ini file add "extension=phalcon.so"

I installed the last 1-2 months ago, there was no problem.
 

vacancy

Well-Known Member
Sep 20, 2012
457
159
93
Turkey
cPanel Access Level
Root Administrator
Did you check the post referenced in my last response regarding the version of phalcon installed?

Thank you.
I experimented with almost all phalcon versions.

2.x - 3.0.x - 3.2.x

I also tried to install PHP 5 and 7 on all versions of the results did not change.

The installation method worked well before. I installed it many times, the problem started after the last easyapache 4 updates.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello,

Could you open a support ticket using the link in my signature so we can take a closer look?

Thank you.
 

vacancy

Well-Known Member
Sep 20, 2012
457
159
93
Turkey
cPanel Access Level
Root Administrator
I have phalcon module support already in easyapache 4, so I am wasting time manually installing it.

my mistake, thanks :)

Code:
php55-php-phalcon
php56-php-phalcon
php70-php-phalcon
php71-php-phalcon
 
  • Like
Reactions: cPanelMichael