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.0 on Ubuntu 16.04 from repo - Couldn't find any package

[email protected]:~# sudo apt-get install php7.0-phalcon
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.0-phalcon
E: Couldn't find any package by glob 'php7.0-phalcon'
E: Couldn't find any package by regex 'php7.0-phalcon'
[email protected]:~# sudo apt-add-repository ppa:phalcon/stable
 Phalcon PHP framework ia a high performance php framework build as a PHP module. This package will install the latest STABLE version of the framework. Check out the framework @ https://phalcon.io
 More info: https://launchpad.net/~phalcon/+archive/ubuntu/stable
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpeg6b_z6j/secring.gpg' created
gpg: keyring `/tmp/tmpeg6b_z6j/pubring.gpg' created
gpg: requesting key 1E569794 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpeg6b_z6j/trustdb.gpg: trustdb created
gpg: key 1E569794: public key "Launchpad PPA for Phalcon PHP Framework" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
[email protected]:~# sudo apt-get install php7.0-phalcon
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.0-phalcon
E: Couldn't find any package by glob 'php7.0-phalcon'
E: Couldn't find any package by regex 'php7.0-phalcon'
edited Aug '16

I can't read your message - pretty good mess but try this (different order):

apt-get install -y software-properties-common

apt-add-repository ppa:phalcon/stable

apt-get update

apt-get install -y php7.0-phalcon

Best



17.6k

not work

I can't read your message - pretty good mess but try this (different order):

apt-get install -y software-properties-common

apt-add-repository ppa:phalcon/stable

apt-get update

apt-get install -y php7.0-phalcon

Best



43.9k

Hi,

I would suggest that you compile phalcon extension by your own. It's pretty simple.