计算机网络/计算机科学与应用/系统/运维/开发

ThinkPHP5 安装及目录


Tp5.1 安装要求:

PHP >= 5.6.0
PDO PHP Extension
MBstring PHP Extension


Composer镜像:

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

Composer安装:

composer create-project topthink/think=5.1.* tp5


Nginx伪静态配置:

if (!-e $request_filename) {
                rewrite  ^(.*)$  /index.php?s=$1  last;
                break;
}


安装参考:https://www.kancloud.cn/manual/thinkphp5/118006

目录参考:https://www.kancloud.cn/manual/thinkphp5_1/353950


tp5

所有的努力,不是为了让别人觉得你了不起,而是为了能让自己打心眼里看得起自己。

评论

^