Phalcon的安装

阅读数:1334 发布时间:2016-06-22 11:25:30

作者:gsh 标签: Phalcon php

Phalcon的安装,针对不同操作系统的开发者,分为如下几种:

一、 Windows派

二、 Linux派

Ubuntu

sudo apt-add-repository ppa:phalcon/stable
sudo apt-get update
sudo apt-get install php5-phalcon
相关依赖
sudo apt-get install php5-dev php5-mysql gcc libpcre3-dev

Fedora

sudo yum install php-devel php-mysqlnd gcc libtool

RHEL

sudo yum install php-devel php-mysql gcc libtool

Suse

yast2 -i php5-pear php5-devel php5-mysql gcc

三、 Mac OSX派

brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/php
brew install php5x php5x-phalcon # Where "x" - minor number of PHP

Phalcon的安装相关说明

wygk Although Phalcon does not binary link to other extensions it does use some of them to offer functionality. The extensions used are:

mbstring
mcrypt
openssl
PDO
PDO/Mysql
PDO/Postgresql
PDO/Sqlite
PDO/Oracle
Mongo

相关文章推荐: