Questions should go to https://forum.phalconphp.com
Documentation issues should go to https://github.com/phalcon/docs/issues
Trying to install phalcon a Ubuntu:16.04 machine, following documentation instructions, but it's not working.
Followed steps:
curl -s "https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh" | sudo bash
sudo apt-get install php7.0-phalcon
Result:
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'
root@d7301cb49362:/server# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
root@d7301cb49362:/server# curl -s "https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh" | bash
Detected operating system as Ubuntu/xenial.
Checking for curl...
Detected curl...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/phalcon_stable.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.
The repository is setup! You can now install packages.
root@d7301cb49362:/server# apt-get install php7.0-phalcon
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
php7.0-memcached
The following NEW packages will be installed:
php7.0-phalcon
0 upgraded, 1 newly installed, 0 to remove and 109 not upgraded.
Need to get 1210 kB of archives.
After this operation, 5055 kB of additional disk space will be used.
Get:1 https://packagecloud.io/phalcon/stable/ubuntu xenial/main amd64 php7.0-phalcon amd64 3.2.4-1 [1210 kB]
Fetched 1210 kB in 2s (541 kB/s)
(Reading database ... 29621 files and directories currently installed.)
Preparing to unpack .../php7.0-phalcon_3.2.4-1_amd64.deb ...
Unpacking php7.0-phalcon (3.2.4-1) ...
Setting up php7.0-phalcon (3.2.4-1) ...
root@d7301cb49362:/server# php --ri phalcon
phalcon
Web framework delivered as a C-extension for PHP
phalcon => enabled
Author => Phalcon Team and contributors
Version => 3.2.4
Build Date => Oct 21 2017 16:33:11
Powered by Zephir => Version 0.10.4-11e39849b0
Directive => Local Value => Master Value
phalcon.db.escape_identifiers => On => On
phalcon.db.force_casting => Off => Off
phalcon.orm.events => On => On
phalcon.orm.virtual_foreign_keys => On => On
phalcon.orm.column_renaming => On => On
phalcon.orm.not_null_validations => On => On
phalcon.orm.exception_on_failed_save => Off => Off
phalcon.orm.enable_literals => On => On
phalcon.orm.late_state_binding => Off => Off
phalcon.orm.enable_implicit_joins => On => On
phalcon.orm.cast_on_hydrate => Off => Off
phalcon.orm.ignore_unknown_columns => Off => Off
phalcon.orm.update_snapshot_on_save => On => On
phalcon.orm.disable_assign_setters => Off => Off
Most helpful comment