继续摘抄:Symfony installation

本文介绍了一种简单的Symfony安装方法——通过PEAR包管理系统。首先确保已升级到PEAR 1.4.0或更高版本,然后添加'symfony'通道,并安装最新稳定版及所有依赖。也可指定特定版本进行安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Symfony installation

The simplest way to install symfony is to use the PEAR package. However, to be able to use channels - and access the symfony channel - you need to upgrade to PEAR 1.4.0 or greater (unless you run PHP 5.1.0, which includes PEAR 1.4.5):

$ pear upgrade PEAR

if you experience any problem while using PEAR, refer to the Running symfony book chapter.

Now you can add the 'symfony' channel:

$ pear channel-discover pear.symfony-project.com

You are ready to install the latest stable version of symfony together with all its dependencies:

$ pear install symfony/symfony

If a specific version is desired, say 1.0.11, it can be specified as follows:

$ pear upgrade symfony/symfony-1.0.11

Check that symfony is installed by using the command line to check the version (note capital -V):

$ symfony -V

If you are curious about what this new command line tool can do for you, type symfony -T to list the available options. You might also want to read the Running symfony book chapter to see how to install symfony from a tgz archive or the svn repository. A community contribution also details a non-PEAR installation in the symfony wiki .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值