mac环境安装symfony2
来源:互联网 发布:工作计划安排软件 编辑:程序博客网 时间:2024/06/07 05:18
1.命令行安装composer
$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer
2.composer安装symfony2
composer create-project symfony/framework-standard-edition /Library/WebServer/Documents/symfony_test
3.配置权限
cd symfony_test
chmod -R 777 app/cachechmod -R 777 app/logs
3.配置vhosts
添加127.0.0.1 test.symfony.com
4.配置httpd-vhosts.conf
添加
<VirtualHost *:81>
DocumentRoot "/Library/WebServer/Documents/symfony_test/web"
ServerName sy.localhost
<Directory "/Library/WebServer/Documents/symfony_test/web">
Options Indexes FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog "/private/var/log/apache2/sf2project-error_log"
CustomLog "/private/var/log/apache2/sf2project-access_log" common
</VirtualHost>
5.重启apache服务器
sudo apachectl restart
- mac环境安装symfony2
- XAMPP环境下 安装Symfony2
- win7下 XAMPP环境下 安装Symfony2
- Symfony2 安装
- Symfony2 安装
- 安装symfony2 如此简单!~
- Symfony2 安装与使用
- mac 安装 nginx 环境
- mac 安装 nginx 环境
- mac安装nginx环境
- mac 安装Ruby环境
- mac 安装 nginx 环境
- Mac环境cocoapods安装
- mac 安装 nginx 环境
- mac 安装 nginx 环境
- mac安装nginx环境
- mac 安装 nginx 环境
- Mac 安装Java环境
- Activity生命周期详解
- emacs 使用积累9 文件search与列表speedbar CEDET tabbar doxymacs:Doxygen Doxywizard
- Codeforces GYM 100548 K - Last Defence 2014-2015 ACM-ICPC, Asia Xian Regional Contest
- ios8下推送,先记录下来
- 我是一名疯狂的程序员,时刻关注互联网
- mac环境安装symfony2
- 沉寂-致2016年1月的自己
- cscope 生成索引文件 检索数据库文件 主要针对含有3pp的情况下,
- 什么是服务器,服务器与普通电脑有什么区别?
- SSM框架——使用MyBatis Generator自动创建代码
- emacs 使用积累5.2 cscope
- Java线程:线程的调度-让步
- 项目经验:Android嵌入式系统控制的蓝牙小车
- emacs 使用积累5.1 gtags gtags-cscope