php学习之安装Propel

1.首先是安装PEAR
执行安装目录下的go-pear.bat
如果使用beta or RC 的版本可以利用如下命令
$> pear config-set preferred_state beta
修改preferred_state数据
2.安装Phing
$> pear channel-discover pear.phing.info
$> pear install phing/phing
3.安装Creole
$> pear channel-discover pear.phpdb.org
$> pear install phpdb/creole
$> pear install phpdb/jargon
4.安装Propel
$> pear install phpdb/propel_generator
$> pear install phpdb/propel_runtime
5.关闭下列php.ini选项
ze1_compatibility_mode Off 
magic_quotes_gpc Off 
magic_quotes_sybase Off
至此安装完毕
6.index.php中加入
require_once 'propel/Propel.php';
7.安装pear log framework
pear install Log

你可能感兴趣的:(PHP,Sybase,Go)