1.上传源码至站点根目录,PHP版本推荐5.x;
2.配置伪静态,apache自带伪静态文件,Nginx伪静态规则见下方;
3.访问站点进入安装引导,默认用户名密码均为admin
Nginx伪静态规则:
rewrite ^/index.html$ /index.php;
rewrite ^/app.html$ /app.php;
rewrite ^/mv.html$ /mv.php;
rewrite ^/tv.html$ /tv.php;
rewrite ^/cx.html$ /cx.php;
rewrite ^/yy.html$ /yy.php;
rewrite ^/book.html$ /book.php;
rewrite ^/hall.html$ /hall.php;
rewrite ^/fuli.html$ /fuli.php;
rewrite ^/zhibo.html$ /zhibo.php;
rewrite ^/music.html$ /music.php;
rewrite ^/movie.html$ /movie.php;
rewrite ^/zongyi.html$ /zongyi.php;
rewrite ^/dongman.html$ /dongman.php;
rewrite ^/vod(.*)$ /play.php/?play=$1;
rewrite ^/mvplay/(.*).html$ /mv.php/?play=$1;
rewrite ^/cxplay/(.*).html$ /cxplay.php/?id=$1;
rewrite ^/yplay/(.*).html$ /yplay.php/?post=$1;
rewrite ^/mc_(.*)_([0-9]+).html$ /movie.php/?m=/dianying/list.php/?cat=$1&page=$2;
rewrite ^/ma_(.*)_([0-9]+).html$ /movie.php/?m=/dianying/list.php/?area=$1&page=$2;
rewrite ^/my_(.*)_([0-9]+).html$ /movie.php/?m=/dianying/list.php/?year=$1&page=$2;
rewrite ^/movie_hot_([0-9]+).html$ /movie.php/?m=/dianying/list.php/?rank=rankhot&page=$1;
rewrite ^/movie_time_([0-9]+).html$ /movie.php/?m=/dianying/list.php/?rank=createtime&page=$1;
rewrite ^/movie_point_([0-9]+).html$ /movie.php/?m=/dianying/list.php/?rank=rankpoint&page=$1;
rewrite ^/tc_(.*)_([0-9]+).html$ /tv.php/?m=/dianshi/list.php/?cat=$1&page=$2;
rewrite ^/ta_(.*)_([0-9]+).html$ /tv.php/?m=/dianshi/list.php/?area=$1&page=$2;
rewrite ^/ty_(.*)_([0-9]+).html$ /tv.php/?m=/dianshi/list.php/?year=$1&page=$2;
rewrite ^/zc_(.*)_([0-9]+).html$ /zongyi.php/?m=/zongyi/list.php/?cat=$1&page=$2;
rewrite ^/za_(.*)_([0-9]+).html$ /zongyi.php/?m=/zongyi/list.php/?area=$1&page=$2;
rewrite ^/zy_(.*)_([0-9]+).html$ /zongyi.php/?m=/zongyi/list.php/?act=$1&page=$2;
rewrite ^/zongyi_time_([0-9]+).html$ /zongyi.php/?m=/zongyi/list.php/?rank=createtime&page=$1;
rewrite ^/zongyi_hot_([0-9]+).html$ /zongyi.php/?m=/zongyi/list.php/?rank=rankhot&page=$1;
rewrite ^/dc_(.*)_([0-9]+).html$ /dongman.php/?m=/dongman/list.php/?cat=$1&page=$2;
rewrite ^/da_(.*)_([0-9]+).html$ /dongman.php/?m=/dongman/list.php/?area=$1&page=$2;
rewrite ^/dy_(.*)_([0-9]+).html$ /dongman.php/?m=/dongman/list.php/?year=$1&page=$2;
rewrite ^/dongman_hot_([0-9]+).html$ /dongman.php/?m=/dongman/list.php/?rank=rankhot&page=$1;
rewrite ^/dongman_time_([0-9]+).html$ /dongman.php/?m=/dongman/list.php/?rank=createtime&page=$1;
rewrite ^/tv_hot_([0-9]+).html$ /tv.php/?m=/dianshi/list.php/?rank=rankhot&page=$1;
rewrite ^/gb_(.*).html$ /book.php?page=$1;
rewrite ^/cx_(.*)_([0-9]+).html$ /cx.php/?cid=$1&page=$2;
rewrite ^/yy_(.*).html$ /yy.php?list=$1;
rewrite ^/cx_(.*)_([0-9]+).html$ /cx.php/?cid=$1&page=$2;
rewrite ^/mv_(.*)_([0-9]+).html$ /mv.php/?sid=$1&pageno=$2;
rewrite ^/mv_so_(.*).html /mv.php/?sousuo=$1;
安装好后显示 Warning: mysql_connect(): Access denied for user ‘root’@’localhost’ (using password: YES) in /www/wwwroot/XXXXXXXX/upload/system/conn.php on line 9
到网站后台清除缓存 就可以了
牛逼了 66666666666
牛逼了 66666666666
来晚了吗啊啊啊啊
来晚了吗啊啊啊啊