发新话题
打印

Pear的命令行 - 很简单,只用一行。

Pear的命令行 - 很简单,只用一行。

PearPHP扩展和应用库("PHP Extension and Application Repository")的缩写,注意它不是鸭梨,尽管和该水果的发音相同。在安装好php之后,缺省情况下会自动安装pear的部分程序库,我们看看这种情况下如何自行安装更多的应用库。

全自动安装
很简单,只用一行。

PLAIN TEXTCODE:
pear install <package>

<package>应当是你要安装的库名,可以到Pear的站上浏览,相当丰富。也可以用命令行直接查看:

pear remote-list

提示:使用"-o"参数能够自动安装必需的依赖应用库。

手动安装
如果你直接在pear站上下载了gzip的安装包,可以采用这种安装形式。pear会自动安装这个应用库,不再链接到网上去下载。

PLAIN TEXTCODE:
pear install <file>.tgz

命令清单

Command Description
build Build the extension
from source
bundle Download and unpack
a PECL extension
channel-add Add a Channel (PEAR
1.4+)
channel-alias Specify an alias to
a channel name (PEAR 1.4+)
channel-delete Remove a channel
from the list (PEAR 1.4+)
channel-discover Initialize a channel
from its server name (PEAR 1.4+)
channel-info Retrieve information
on a channel (PEAR 1.4+)
channel-update Update an existing
channel (PEAR 1.4+)
clear-cache Clear the XML-RPC
cache
config-create Create a default
configuration file (PEAR 1.4+)
config-get Echo a specific
configuration setting
config-help Show information
about a setting
config-set Set a specific
configuration setting value
config-show Show all
configuration setting values
convert Convert a
package.xml 1.0 format to package.xml 2.0 format
(PEAR 1.4+)
cvsdiff Execute and display
a "cvs diff -u" on all files
within the package
cvstag Set a CVS release
tag
download Download a package
but not install it
download-all Downloads every
available package
info Display information
about a package
install Install a package,
will report with success or failure
list List installed
packages
list-all List all packages,
packaged and/or available
list-channels List available
channels (PEAR 1.4+)
list-files List files in an
installed package (PEAR 1.4+)
list-upgrades List available
upgrades for the installed packages
login Connects and
authenticates to the remote PEAR server
logout Logs out from the
remote PEAR server
makerpm Builds a RPM spec
file from a PEAR package
package Build a package
package-dependencies Show package
dependencies
package-validate Validate package
consistency
remote-info Information about
remote packages
remote-list List remote
packages
run-scripts Run post-install
scripts bundled with a package (PEAR 1.4+)
run-tests Run regression
tests
search Search the remote
package database
shell-test Do a shell script
test
sign Sign a package
distribution file
uninstall Uninstall and remove
a package
update-channels Update the channel
list (PEAR 1.4+)
upgrade Upgrade a package to
the current version (see also: preferred_state)
upgrade-all Upgrade all packages
(see also: list-upgrades)
PEAR专区欢迎你交流!

TOP

**沈阳商业工业销售**13927491835林先生

你好
     【东兴税务代理有限公司】因下岗扶植的税收优惠政策,加上进项较多完成不了每月定税额度。现长期与国内各省市多家企业(公司)有业务往来,可为您**各类有效税票!  本司在报税、做帐方面积累有丰富的经验,公司本着互惠互利的原则合作,推出代理开票的业务,代理的行业广泛: 例:普通国税、地税、建筑、商品销售、货物统一销售、工业(企业)销售、电脑版运输、货 运代理、装卸、联运、海运、广告费、住宿费、会议费、咨询费等、加工修理、 租赁、行政事业专用、机动车销售、房地产交易、废旧物资回收、税务代 /开、**等等。 〖所开出**均可查验,或到所在地方税务局验证。〗税率低,绝对真票! 贵企业(公司)若有下列情况: 1.公司没有税务优惠政策而纳税偏高的; 2.对外销售商品而公司暂时未领正式税票的; 3.公司帐目进、出项有差额的; 4.采购时需要正式报销**而供应商没有提供税票的; 5.其他涉税方面的业务; 如有不明之处欢迎来电洽谈联络,您将会得到满意的收获,真诚希望与您合作!
    电话:13927491835林先生     电子邮件:gd.1618@163.com
深圳市东兴税务代理有限公司

TOP

发新话题