使用宝塔面板安装ImgURL图床

ImgURL:很不错的PHP图床源码,下面是使用宝塔面板安装的要点。

环境:Nginx(Apache也可)、PHP 7

1、安装完Nginx(Apache也可)、PHP 7后,Nginx的伪静态

location / { try_files $uri $uri/ /index.php?$query_string; } location ~* \.(db3|json)$ { deny all; } location ~* ^/(temp|upload|imgs|data|application|static|system)/.*.(php|php5)$ { return 403; }

2、PHP扩展

一定要安装 fileinfo 和 imagemagick !!!

3、图片鉴黄 注册:http://www.moderatecontent.com/#pricing,获取API

下载ImgURL最新源码:https://github.com/helloxz/imgurl/archive/master.zip

推荐站内搜索:免费主页空间、网站空间商、备案系统、免费云电脑主机永久使用、网站备案域名查询、免费美国主机、ip地址查询器、香港服务器租用99idc、过期备案域名查询、1g美国虚拟主机、