Skip to content

Instantly share code, notes, and snippets.

@mapsi
Last active January 15, 2022 06:00
Show Gist options
  • Save mapsi/6091335 to your computer and use it in GitHub Desktop.
Save mapsi/6091335 to your computer and use it in GitHub Desktop.
Copy-Paste documentation of how to install phalcon on Phalcon on CentOS 6.2

#Installing Phalcon on CentOS 6.2 64bit

Install build tools

sudo yum install gcc make  
sudo yum install php-devel  

Compile Phalcon

git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
sudo ./install

Enable Phalcon

sudo sh -c 'echo -e "; Enable phalconphp extension\n[phalcon]\nextension=phalcon.so" > /etc/php.d/phalcon.ini'

Restart web server / PHP parser / whatever…

sudo service httpd restart or sudo service php-fpm restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment