phalcon-template

Phalcon - nginx, php, php-fpm, git, git clone phalcon, install phalcon

Phalcon - nginx, php, php-fpm, git, git clone phalcon, install phalcon

Configuration summary

CentOS 6.5 CentOS 6.5
Package git install
Hooks

Post clone-phalcon

#!/bin/bash
# make sure you do not use an uninitialised variable
set -u

# script will exit at first error
set -e

# git clone phalcon version 1.3.2 (tag)
/usr/bin/git clone -b phalcon-v1.3.2 --single-branch git://github.com/phalcon/cphalcon.git /opt/cphalcon/

# install phalcon
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/bin:/sbin
cd /opt/cphalcon/build
./install
# Should create /usr/lib64/php/modules/phalcon.so

# Restart php-fpm
sudo service php-fpm restart
Package nginx install
Package php install
Package php-mysql install
Package php-fpm install

Quick Deployment
Advanced Deployment