搜索
系统检测到您的用户名不符合规范:

Thinkphp5后台管理,tp后台,tp5后台

浏览:20970 发布日期:2016年11月24日 分类:系统代码 关键字: tp5Admin,tp后台,PHP后台管理
thinkphp5框架+Bootstrap开发,后台已做好菜单与权限管理

thinkphp5框架+Bootstrap开发,后台已做好菜单与权限管理,支持一个管理员多个组。这是我学习tp5用来练手用的。仅供参考使用!

演示:http://admin.0532888.cn



后期最新代码更新到github上吧。
https://github.com/duzhenxun/TP5Admin

虚拟机配置,需要绑定到public目录中,这样比较安全.

Nginx虚拟机配置如下:

server {
listen 80;
server_name tp5admin.com;
root "/Users/mac/wwwroot/work/tp5admin.com/public";
location / {
index index.html index.htm index.php;
autoindex on;
if (!-e $request_filename) {
###一级目录下
rewrite ^/(.*)$ /index.php/1ドル last;
###域名下的二级目录
#rewrite ^/目录名/(.*)$ /目录名/index.php/1ドル last;
}
}
location ~ \.php(.*)$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param script_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
include fastcgi_params;
}
}
window环境 LAMP 配置



1 在 C:\Windows\System32\drivers\etc\hosts文件底部添加
127.0.0.1 tp5admin.com


2 在httpd.conf 文件底部添加 tp5admin 网站配置

<virtualhost *:80>

ServerName tp5admin.com

DocumentRoot C:\xampp\htdocs\tp5admin\public

<virtualhost>

3 重启apache 即可 运行tp5admin.com/admin 即可

附件 tp5admin后台管理.zip ( 6.36 MB 下载:931 次 )

收藏
duzhenxun
积分:412 等级:LV2
热点推荐
(追記) (追記ここまで)
最新更新

我们

合作

网站

信息

ThinkPHP 是一个免费开源的,快速、简单的面向对象的 轻量级PHP开发框架 ,创立于2006年初,遵循Apache2开源协议发布,是为了敏捷WEB应用开发和简化企业应用开发而诞生的。ThinkPHP从诞生以来一直秉承简洁实用的设计原则,在保持出色的性能和至简的代码的同时,也注重易用性。并且拥有众多的原创功能和特性,在社区团队的积极参与下,在易用性、扩展性和性能方面不断优化和改进,已经成长为国内最领先和最具影响力的WEB应用开发框架,众多的典型案例确保可以稳定用于商业以及门户级的开发。

AltStyle によって変換されたページ (->オリジナル) /