时间:2021-07-01 10:21:17 帮助过:26人阅读
$ ./pear version PEAR Version: 1.9.4 PHP Version: 5.4.26 Zend Engine Version: 2.4.0验证php的include path pear的扩展安装在php的 include path下。
$ ./pear config-get php_dir /home/gang/php/lib/php
$ ./pear Commands: build Build an Extension From C Source bundle Unpacks a Pecl Package channel-add Add a Channel channel-alias Specify an alias to a channel name channel-delete Remove a Channel From the List ...
$ ./pear help install
$ ./pear install LOG运行成功后在 php/lib目录下会生成Log.php和Log目录,以及doc目录 在doc/Log下面有使用例子和说明。
./pear upgrade LOG
log("Log entry $i"); }
$ ./pear remote-list
http://www.bkjia.com/PHPjc/755763.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/755763.htmlTechArticle1. PEAR简介 PEAR:PHP Extension and Application Repository,php扩展与应用库。(突然想吃梨了)pear的使命:提供可复用的组件,引领php的创新。提供...