Thinkphp安装
2023-03-29 23:03:03
93
{{single.collect_count}}

1、下载安装包thinkphp_3.2.3_full.zip

2、解压,复制里面的Thinkphp文件夹到服务器

3、写个页面代码如下:

define('APP_NAME', 'home');
define('APP_PATH', './home/');
include ('ThinkPHP/ThinkPHP.php');

4、访问该页面,如果提示页面错误,那么可能是因为存放该页面的文件夹没有写权限,因为首次运行的时候,框架会新建文件home。

成功的情况下会出现



:)


欢迎使用 ThinkPHP


版本 V3.2.3
回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}