【源码】Phpsound v6.5汉化版最新版- PHP音乐分享平台

phpsound是一个类似于SoundCloud的社交音乐共享平台,允许用户在线上传音乐并与世界分享。用户可以在线分享自己创作的歌曲或者喜欢的歌曲!也可以本地上传和管理自己的音乐小样,

任何注册的用户均可分享,所有访客可在线收听!

程序自带收费会员,但支付渠道仅限PAYPAL。程序具有多模板、多语言、音乐背景播放等功能,适合音乐创作者们分享自己的作品。

【源码】Phpsound v6.5汉化版最新版- PHP音乐分享平台插图

【源码】Phpsound v6.5汉化版最新版- PHP音乐分享平台插图1

教程

环境要求:PHP >= 5.5MySQLGD LibraryOpenSSLcURLmod_rewrite

1.安装宝塔 宝塔企业版7.52破解版

2.安装程序 添加域名 上传源码解压

3.把MySQL文件夹数据库文件导入数据库,把Script文件夹内文件剪切到Script文件夹外

4.编辑网站根目录includes/config.php:PS:改成你的

$CONF['user'] = 'YOURDBUSER';//数据库用户
$CONF['pass'] = 'YOURDBPASS';//数据库密码
$CONF['name'] = 'YOURDBNAME';//数据库名
$CONF['url'] = 'https://ylyn.cc';//程序安装网址
$CONF['email'] = 'admin@ylyn.cc';//系统联系邮件

5.设置uploads、themes文件夹权限为777

6.设置伪静态

[wm_notice]location / {
if (-e $request_filename){
rewrite ^/(.*) /$1 break;
}
rewrite ^/(([^/]*)+)?$ /index.php?a=$1 break;
}

location /welcome {
rewrite ^/welcome/?$ /index.php?a=welcome;
}

location /stream {
rewrite ^/stream/?$ /index.php?a=stream;
rewrite ^/stream/logout/([^/]+)/?$ /index.php?a=stream&logout=1&token_id=$1;
}

location /explore {
rewrite ^/explore/?$ /index.php?a=explore;
rewrite ^/explore/filter/([^/]+)/?$ /index.php?a=explore&filter=$1;
}

location /upload {
rewrite ^/upload/?$ /index.php?a=upload;
}

location /pro {
rewrite ^/pro/?$ /index.php?a=pro;
}

location /stats {
rewrite ^/stats/?$ /index.php?a=stats;
rewrite ^/stats/filter/([^/]+)/?$ /index.php?a=stats&filter=$1;
}

location /profile {
rewrite ^/profile/([^/]+)/?$ /index.php?a=profile&u=$1;
rewrite ^/profile/([^/]+)/([^/]+)/?$ /index.php?a=profile&u=$1&r=$2;
rewrite ^/profile/([^/]+)/filter/([^/]+)/?$ /index.php?a=profile&u=$1&filter=$2;
}

location /notifications {
rewrite ^/notifications/?$ /index.php?a=notifications;
rewrite ^/notifications/filter/([^/]+)/?$ /index.php?a=notifications&filter=$1;
}

location /settings {
rewrite ^/settings/?$ /index.php?a=settings;
rewrite ^/settings/([^/]+)/?$ /index.php?a=settings&b=$1;
}

location /messages {
rewrite ^/messages/?$ /index.php?a=messages;
rewrite ^/messages/([^/]+)/([^/]+)/?$ /index.php?a=messages&u=$1&id=$2;
}

location /track {
rewrite ^/track/([^/]+)/?$ /index.php?a=track&id=$1;
rewrite ^/track/([^/]+)/edit/?$ /index.php?a=track&id=$1&type=edit;
rewrite ^/track/([^/]+)/report/?$ /index.php?a=track&id=$1&type=report;
rewrite ^/track/([^/]+)/stats/?$ /index.php?a=track&id=$1&type=stats;
rewrite ^/track/([^/]+)/likes/?$ /index.php?a=track&id=$1&type=likes;
rewrite ^/track/([^/]+)/stats/filter/([^/]+)/?$ /index.php?a=track&id=$1&type=stats&filter=$2;
rewrite ^/track/([^/]+)/([^/]+)/?$ /index.php?a=track&id=$1&name=$2;
}

location /playlist {
rewrite ^/playlist/([^/]+)/?$ /index.php?a=playlist&id=$1;
rewrite ^/playlist/([^/]+)/edit/?$ /index.php?a=playlist&id=$1&edit=true;
rewrite ^/playlist/([^/]+)/([^/]+)/?$ /index.php?a=playlist&id=$1&name=$2;
}

location /search {
rewrite ^/search/filter/([^/]+)/([^/]+)/?$ /index.php?a=search&filter=$1&q=$2;
}

location /page {
rewrite ^/page/([^/]+)/?$ /index.php?a=page&b=$1;
}

location /recover {
rewrite ^/recover/?$ /index.php?a=recover;
rewrite ^/recover/do/?$ /index.php?a=recover&r=1;
}[/wm_notice]

用户名admin,密码password,后台地址:http://xx.com/index.php?a=admin

演示站:  Welcome – Music|一路有你 (ylyn.cc)

 

© 版权声明
THE END
喜欢就支持一下吧
点赞1
分享
评论 抢沙发