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

About Installation on Cpanel EasyApache 4 with PHP7

2 days ago I update all of my servers to latest Cpanel Ver. Now I try to install Phalcon I couldn't install it.

In old server I could use it but with new Gen.EasyApache Config. not possible !

Server Options

PHP 7 Centos 7 EasyApache4 (EasyApache3 just not used in new Cpanel ver.) Current WHM/Cpanel Ver. is WHM 58.0 (build 29) I try this option :

git clone git://github.com/phalcon/cphalcon.git cd cphalcon/build sudo ./install and get this message (on SSH):

./install: line 24: php-config: command not found

php-config is not installed

When I get above eror I use to install required packages but the result is same.

And I try other option for install phalcon like Cpanel Custom Module but didn't listed in EasyApache modules.

How can I install Phalcon on Centos7 with PHP7 and EasyApache4 ?

Thanks !

PS : I try all of the knowing ways and googled this situation but couldn't solve my problem.

which php-config output :

/usr/bin/which: no php-config in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/ bin:/opt/cpanel/composer/bin:/root/bin) yum install php70w-devel output is

Loaded plugins: fastestmirror, tsflags, universal-hooks EA4 | 2.9 kB 00:00 MariaDB100 | 2.9 kB 00:00 base | 3.6 kB 00:00 epel/x86_64/metalink | 25 kB 00:00:00 epel | 4.3 kB 00:00:00 extras | 3.4 kB 00:00:00 phalcon_stable/x86_64/signature | 836 B 00:00:00 phalcon_stable/x86_64/signature | 1.0 kB 00:00:00 !!! phalcon_stable-source/signature | 836 B 00:00:00 phalcon_stable-source/signature | 1.0 kB 00:00:00 !!! updates | 3.4 kB 00:00:00 webtatic | 3.6 kB 00:00:00 (1/3): epel/x86_64/updateinfo | 630 kB 00:00:00 epel/x86_64/primary_db FAILED https://fr.mirror.babylon.network/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/

(2/3): updates/7/x86_64/primary_db | 7.8 MB 00:00:00 epel/x86_64/primary_db FAILED https://epel.mirrors.ovh.net/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://fr2.rpmfind.net/linux/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mirrors.ircam.fr/pub/fedora/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mir01.syntis.net/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mirror.ibcp.fr/pub/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mirror.serverbeheren.nl/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mirrors.neterra.net/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://ftp-stud.hs-esslingen.de/pub/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://vesta.informatik.rwth-aachen.de/ftp/pub/Linux/fedora-epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mirror.vutbr.cz/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://ftp.fi.muni.cz/pub/linux/fedora/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://ftp.icm.edu.pl/pub/Linux/fedora/linux/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://fedora.uib.no/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mirror.switch.ch/ftp/mirror/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://ftp.uninett.no/linux/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://epel.mirror.srv.co.ge/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://anorien.csc.warwick.ac.uk/mirrors/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://fedora.cu.be/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://ftp.uni-kl.de/pub/linux/fedora-epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://fedora-mirror01.rbc.ru/pub/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mirror.euserv.net/linux/fedora-epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mirror.1000mbps.com/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mirrors.nic.cz/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://ftp.pbone.net/pub/fedora/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://www.fedora.is/fedora/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mirror.duomenucentras.lt/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://www.nic.funet.fi/pub/mirrors/fedora.redhat.com/pub/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://ftp.fau.de/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mirror.nl.leaseweb.net/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. epel/x86_64/primary_db FAILED https://mirror.de.leaseweb.net/epel/7/x86_64/repodata/07b4f1fabeb32338dbc7c1da23924782676cb03bafa152a5ccf3ace2444a2340-primary.sqlite.xz: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. (3/3): epel/x86_64/primary_db | 4.2 MB 00:00:01 Loading mirror speeds from cached hostfile

  • EA4: 85.13.201.2
  • base: centos.mirrors.ovh.net
  • epel: epel.mirrors.ovh.net
  • extras: centos.mirrors.ovh.net
  • updates: centos.mirrors.ovh.net
  • webtatic: uk.repo.webtatic.com No package php70w-devel available. Error: Nothing to do
edited Sep '16

You need to install php7 dev package.

This issue is not related to phalcon anyhow.

You need to install php7 dev package.

This issue is not related to phalcon anyhow.

hey friend I try all of the ways. php-dev installed on server

3 days ago when I use cpanel easyapache3 its working perfect. but when I upgraded to easyapache4 I couldn't install phalcon.

edited Sep '16

No it's not installed. If it would be isntalled then you would have php-config in your system. You just see:

No package php70w-devel available. Error: Nothing to do

Post result of yum list php7*

Check those links: https://www.servermom.org/install-php-7-centos-ubuntu-debian/ https://idroot.net/tutorials/how-to-install-php-7-on-centos-7/

And just google it, why i have to do it for you ? You can google it yourself how to install php7/php70-devel in centos. I would just switch to ubuntu/debian.

edited Sep '16

You can google it yourself how to install php7/php70-devel in centos. I would just switch to ubuntu/debian.

+1 Dunno why, but here many CentOS users are complaining about the basics.

@IvanBarayev Try with latest Ubuntu, it ships with PHP7 by default.