laravel 5.2 安装
cd /var/www/
composer create-project --prefer-dist laravel/laravel laravel-test "5.2.*"
cd laravel-test
chmod 777 storage/logs/ bootstrap/cache/ storage/framework/views/ storage/framework/sessions/
vi /etc/httpd/conf/httpd.conf
<VirtualHost *:80> DocumentRoot /var/www/laravel-test/public ServerName laravel-test.lc <Directory "/var/www/laravel-test/public"> AllowOverride All </Directory> </VirtualHost>
配置主机hosts
192.168.56.101 laravel-test.lc