We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon 3 in EasyApache 4 Centos 7

Hi, I am trying to install Phalcon with:

curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.rpm.sh | sudo bash

yum install php56u-phalcon

but I get dependency errors:

Error: Package: php56u-phalcon-3.0.1-14.ius.el7.centos.x86_64 (phalcon_stable) Requires: php56u-pdo(x86-64)

Error: Package: php56u-phalcon-3.0.1-14.ius.el7.centos.x86_64 (phalcon_stable) Requires: php56u-common(x86-64)

Error: Package: php56u-phalcon-3.0.1-14.ius.el7.centos.x86_64 (phalcon_stable) Requires: php56u(api) = 20131106

Error: Package: php56u-phalcon-3.0.1-14.ius.el7.centos.x86_64 (phalcon_stable) Requires: php56u(zend-abi) = 20131226

These libraries are installed but with the modifier "ea-" of easy apache.

How I can install Phalcon 3 in Centos 7 cpanel easyapache 4 and php5.6?

Thanks in advance.



1.6k
edited Sep '16

ok, can u help me with 5.6 ?

Edit: with php7 same result

Is better PHP7.



47.7k

@tiyise are you using Cpanel?



1.6k

Yes, Cpanel - CENTOS 7.2 x86_64 standard – WHM 58.0 (build 27)

But I just get it started, I've compiled Phalcon on another server with centos 7 and php56 without easyapache 4 and then I copied phalcon.so to this server, and worked perfectly. Thx

@tiyise are you using Cpanel?



47.7k

Ah ok. I was thinking if you use easyapache in Cpanel to recompile apache/php then you will have to reinstall phalcon again.

Yes, Cpanel - CENTOS 7.2 x86_64 standard – WHM 58.0 (build 27)

But I just get it started, I've compiled Phalcon on another server with centos 7 and php56 without easyapache 4 and then I copied phalcon.so to this server, and worked perfectly. Thx

@tiyise are you using Cpanel?