install yii2 for php 5.4 on CentOS 7
2016-08-12 20:25
316 查看
0. cd ~ 1. curl -sS https://getcomposer.org/installer | php
2. sudo mv composer.phar /usr/local/bin/composer 3. check if php_mbstring installed using "php -m |grep mbstring", if not, install the module using "sudo yum install php-mbstring" 4.0 cd /var/www/html/ 4.1 sudo mkdir yii2 sudo chmod 774 yii2 sudo usermod scott -gapache sudo chown scott:apache yii2 chcon -t httpd_sys_content_rw_t yii2 5. cd yii2
composer global require "fxp/composer-asset-plugin:^1.2.0"
[/code]
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
相关文章推荐
- PHP 5.4 on CentOS/RHEL 6.5 and 5.10 via Yum
- Howto Install PHP 5.4, 5.5 or 5.6 on CentOS 6 and CentOS 7
- PHP 5.4 on CentOS/RHEL 6.5 and 5.10 via Yum
- How to Install LAMP (Apache 2.4, MySQL 5.6, and PHP 5.4) on CentOS/RHEL 7
- Installing PHP5.4 on Centos 5.8
- install composer for php 7 on CentOS 7
- PHP 5.4 on CentOS/RHEL 7.0, 6.5 and 5.10 via Yum
- How to install HipHop for PHP on CentOS 5.x
- PHP 5.4 on CentOS/RHEL 6.4 and 5.9 via Yum
- CentOS 5.4 服务器配置 yum安装Apache+php+Mysql+phpmyadmin
- U盘 安装 CentOS 5.4 / Fefora 10/11/12
- CentOS 5.4 服务器配置 yum安装Apache+php+Mysql+phpmyadmin
- Tuning Apache and PHP for Speed on Unix
- [转]CentOS 5.4上yum安装Apache+php+Mysql+phpMyAdmin
- Install JSON PHP Extension on CentOs / RedHat
- CentOS 5.4 通过yum升级php到5.3版本的两种方
- Install PHP Pear Mail / SMTP package on CentOS / Red Hat Enterprise Linux ZT
- centos 5.4 下面安装MongoDB服务端和PHP客户端扩展
- 两条命令搞定CentOS5.4中PHP的版本升级
- CentOS 5.4 服务器配置 yum安装Apache+php+Mysql