Skip to content

Instantly share code, notes, and snippets.

@hawkup
Last active May 6, 2017 06:26
Show Gist options
  • Save hawkup/2b07e3c7600b1281542a to your computer and use it in GitHub Desktop.
Save hawkup/2b07e3c7600b1281542a to your computer and use it in GitHub Desktop.
Install Phalcon on Ubuntu 14.04

Installation

  • install php5-dev
sudo apt-get install php5-dev
  • install PCRE libraries
sudo apt-get install libpcre3-dev
  • clone cphalcon
git clone git://github.com/phalcon/cphalcon.git
  • build cphalcon
cd cphalcon/build
sudo ./install
  • Create the extension ini file in /etc/php5/mods-available
echo 'extension=phalcon.so' | sudo tee -a /etc/php5/mods-available/phalcon.ini
cd /etc/php5/mods-available    
sudo php5enmod phalcon
  • restart apache2
sudo /etc/init.d/apache2 restart

referrence: https://www.digitalocean.com/community/tutorials/how-to-install-and-get-started-with-phalcon-on-an-ubuntu-12-04-vps http://askubuntu.com/questions/440825/cant-install-phalcon-extention-on-ubuntu http://stackoverflow.com/questions/22555561/error-building-fatal-error-pcre-h-no-such-file-or-directory

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