Home > Backend Development > PHP Tutorial > laravel安装的一些代码

laravel安装的一些代码

WBOY
Release: 2016-06-23 13:14:09
Original
938 people have browsed it

###就这个下载就行```composer create-project laravel/laravel  --prefer-dist my_laravel```--prefer-dist 意思就是压缩的就下载压缩的,因为框架内的很多东西我们不需要动my_laravel  可以自定义,就是下载好的文件夹叫啥名###设置文件夹权限```chmod -R 777 ~/code/laravel/my_laravel```-R就是目录和目录下的所有文件,  777就是读写神马的都开了,数字代表一定意义。  后面是目录,直接所有目录,主要是为了修改两个文件夹的。###需要将public文件夹设置为根目录```php -S 127.0.0.1:9000 -t public```-t 指当前目录下的什么目录
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template