Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 500 Bytes

phalcon-php-ext.md

File metadata and controls

20 lines (17 loc) · 500 Bytes

Phalcon PHP Extension

mkdir -p /root/phalcon-src
cd /root/phalcon-src
git clone https://github.com/phalcon/cphalcon.git .
cd build/php7/64bits
/usr/local/php/bin/phpize
./configure --with-php-config="/usr/local/php/bin/php-config"
make
make install
cd /root
rm -rf /root/phalcon-src

Create a file named /etc/php.d/phalcon.ini with the following content, pay attention to the extensions path:

extension = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/phalcon.so"