Hi. It must be installed from source https://github.com/phalcon/cphalcon and I believe you have to talk to a system administrator for the installation.
Quote from: Igor S. on January 03, 2020, 03:51:25 PM
Hi. It must be installed from source https://github.com/phalcon/cphalcon and I believe you have to talk to a system administrator for the installation.
Hi. Thanks for answer.
I'am the system administrator :D and I wanted to install and use it.
Everything is ready. I did the installation. I write how, because it may be useful.
First weed need to install re2c.
Open opt directory and download package:
Quotecurl http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/r/re2c-0.14.3-2.el7.x86_64.rpm --output re2c-0.14.3-2.el7.x86_64.rpm
Install:
Quoterpm -Uvh re2c-0.14.3-2.el7.x86_64.rpm
Now, wee need to install psr. Psr is required for phalcon extension. Instruction for installation from https://github.com/jbboehr/php-psr:
Quotegit clone https://github.com/jbboehr/php-psr.git
cd php-psr
phpize
./configure
make
make test
sudo make install
Now, we install phalcon extension:
Quote$ cd /opt/
$ git clone https://github.com/phalcon/cphalcon.git
$ cd cphalcon/build
$ sudo ./install
Wait for installation finish. Now, wee need to edin php.ini file and add this lines:
Quoteextension=psr.so
extension=phalcon.so
that is all