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

Install Phalcon3 on Centos7 + cPanel EA4 + php7 with Packagecloud - issue

I've have tried many ways, but cannot install Phalcon.

$ curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.rpm.sh | sudo bash
Detected operating system as centos/7.
Checking for curl...
Detected curl...
Downloading repository file: https://packagecloud.io/install/repositories/phalcon/stable/config_file.repo?os=centos&dist=7&source=script
done.
Installing pygpgme to verify GPG signatures...
Loaded plugins: fastestmirror, tsflags, universal-hooks
phalcon_stable-source/signature                                                              |  836 B  00:00:00     
phalcon_stable-source/signature                                                              | 1.0 kB  00:00:00 !!! 
Loading mirror speeds from cached hostfile
 * EA4: 91.197.228.252
 * base: ftp.nluug.nl
 * extras: ftp.nluug.nl
 * updates: ftp.nluug.nl
Package pygpgme-0.3-9.el7.x86_64 already installed and latest version
Nothing to do
Installing yum-utils...
Loaded plugins: fastestmirror, tsflags, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4: 91.197.228.252
 * base: ftp.nluug.nl
 * extras: ftp.nluug.nl
 * updates: ftp.nluug.nl
Package yum-utils-1.1.31-34.el7.noarch already installed and latest version
Nothing to do
Generating yum cache for phalcon_stable...

The repository is setup! You can now install packages.

$ sudo yum install php70u-phalcon
Loaded plugins: fastestmirror, tsflags, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4: 91.197.228.252
 * base: ftp.nluug.nl
 * extras: ftp.nluug.nl
 * updates: ftp.nluug.nl
No package php70u-phalcon available.
Error: Nothing to do

In /etc/yum.repos.d/ is file: phalcon_stable.repo

[phalcon_stable]
name=phalcon_stable
baseurl=https://packagecloud.io/phalcon/stable/el/7/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/phalcon/stable/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300

[phalcon_stable-source]
name=phalcon_stable-source
baseurl=https://packagecloud.io/phalcon/stable/el/7/SRPMS
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/phalcon/stable/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300

Tips/solution are welcome.

Show permissions of: /etc/yum.repos.d/phalcon_stable.repo

Maybe execute: sudo yum clean all



1.3k
edited Oct '16

permissions: root 0644

yum clean all has no effect

edited Jan '17

Looks like we don't build the package for your distribution, rmp repo or OS version. To see the supported list of OS/version/PHP at this time, refer to: https://github.com/phalcongelist/packagecloud



1.3k

Thanks for the reply Serghei

Looks like we don't build the package for your distribution, rmp repo or OS version...

What needs to be done to make that happen? Can I do something?

There are many cPanel users out there... with Easy Apache 3 it works fine. But right now I cannot upgrade any cPanel server to Easy Apache 4 because I can not rely on Phalcon. Many sites I've build the past year are made with Phalcon.

I've used this solution in development: github.com/magnxpyr/phalcon.so That way I got it working fine, but it's not a 'safe' solution for production, where I need to be able to upgrade/update anytime I want and not therefore depend on this one github account. The latest Phalcon version used here is v 3.0.1.

It's not cPanel's concern (I think) to solve it. Has the Phalcon team plans to provide a cPanel EA4 compatible rpm/version? One that can be safely and easily integrated and (auto) updated.

I believe that would definitely help the growth and integration of Phalcon for all the cpanel users out there.

If not @Phalcon, where would be the right place to ask foor a good production solution?

I'll try to sort out as soon as I can