本站资源来自互联网收集发布,仅供用于学习和交流。如有侵权之处不妥,请联系站长QQ:9002327删除,敬请谅解。

开源微博系统V1.8.2 PHP开发的

富贵2025-11-03 17:59:12197网站源码微博系统

开源微博系统V1.8.2 PHP开发的

开源微博系统V1.8.2 PHP开发的


采用PHP + MySQL开发 ,框架采用ThinkPHP5.1,用户登录后拥有专属ID,支持表情 、关注用户 ,网盘分享等功能 ,支持图片上传,视频上传,网盘存储分享

安装方式

1.克隆源码,导入数据库即可

2.复制 example_env 为 .env 并修改.env相关配置

3.网站的运行目录设置为 /public

4.配置Web服务器的伪静态

开源地址:https://github.com/lty628/aidigu

Nginx伪静态配置(nginx.conf)

location / {
if (!-e $request_filename) {
    rewrite ^(.*)$ /index.php?s=/$1 last;
    break;
      }
}

Apache伪静态配置(.htaccess文件)

<IfModule mod_rewrite.c>
  Options +FollowSymlinks -Multiviews
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php?s=$1 [QSA,PT,L]
</IfModule>

IIS伪静态规则配置(web.config)

<?xml version="1.0" encoding="UTF-8"?>
  <configuration>
    <system.webServer>
      <rewrite>
         <rules>
            <rule name="OrgPage" stopProcessing="true">
               <match url="^(.*)$" ></match>
                  <conditions logicalGrouping="MatchAll">
                     <add input="{HTTP_HOST}" pattern="^(.*)$" ></add>
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" ></add>
                   <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" ></add>
                </conditions>
             <action type="Rewrite" url="index.php/{R:1}" ></action>
          </rule>
        </rules>
     </rewrite>
  </system.webServer>
</configuration>

建议的环境:

Linux系统:CentOS7+/Debian9+/Ubuntu20.04+

PHP版本需求:建议PHP7.2+(暂不支持PHP8)

MySQL版本需求:MySQL5.6+

开源微博系统V1.8.2 PHP开发的
类型:压缩文件|已下载:0|下载方式:免费下载
立即下载
修改版安卓软件,加群提示为破解者自留,与本站无关 游戏辅助过于长久无法使用。【默认压缩包密码:fgvip】
软件内任何收费,广告宣传,推广信息均为诈骗请勿相信。与本站无关。可反映本站及时删除

网友评论