2008-12-25

在Ubuntu下面,让symfony工作起来

类归于: Ubuntu, symfony — 标签:, zhuozi @ 11:10

1.安装好Ubuntu之后,我们需要安装一些必要的软件。

php5,mysql,apache2,svn

#sudo apt-get install ***

接下来需要注意的是symfony需要PDO(mysql)这个模块和apache(rewrite)模块。

PDO:大家可以参考这篇文章,我也是根据这个安装的pdo的安装)

Rewrite:启用重写模块sudo a2enmod rewrite

2.在安装完所有的软件之后,我们开始配置环境。

在网上可以很容易找到symfony下载的svn地址,下载下来之后,把symfony的路径写在php.ini中

include_path=”.:/home/your/symfony/1.2″

3.设置虚拟机,在/etc/apache2/sites-enabled 文件夹下面添加自己的虚拟机文件,并开启。

3 条评论 »

  1. I’ve said that least 2567197 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a2567197 — 2011-11-20 @ 17:37

  2. I’ve said that least 3698288 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a3698288 — 2011-11-20 @ 17:37

  3. I’ve said that least 4630198 times. The problem this like that is they are just too compilcated for the average bird, if you know what I mean

    Comment 由 a4630198 — 2011-11-20 @ 17:37

这篇文章上的评论 RSS feed TrackBack URL

留下评论

WordPress 所驱动