aidigu开源微博项目程序,PHP开发的开源微博系统,自媒体个人创业、网盘推广首先

一、软件介绍

文末提供程序和源码下载学习

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

测试地址

http://t.aidigu.cn

二、安装方式

1.克隆源码,导入数据库即可(文末提供下载)

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

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

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

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+

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

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

MySQL版本需求:MySQL5.6+

MySQL 版本需求 :MySQL5.6+

软件下载

夸克网盘分享

本文信息来源于GitHub作者地址:https://github.com/lty628/aidigu

相关推荐
☆璇几秒前
【C++】stack和queue
开发语言·c++
hqxstudying15 分钟前
Java向量化
java·开发语言
李永奉36 分钟前
C语言-字符串(定义)、字符串函数(strlen、strcat、strcpy、strcmp、strlwr、strupr)
c语言·开发语言·算法
暖苏36 分钟前
python-异常(笔记)
大数据·开发语言·笔记·python·异常
Chase_______1 小时前
JavaWeb笔记2-JavaScript&Vue&Ajax
开发语言·javascript·vue.js
你知道烟火吗1 小时前
谈谈对反射的理解?
java·开发语言·spring boot·后端
寅时码1 小时前
从“一键部署”到“可观测、可定制的发布流”:我如何打造一个企业级部署工具
运维·开源·node.js
啊阿狸不会拉杆1 小时前
《Java 程序设计》核心知识点梳理与深入探究
java·开发语言·python·算法·php·intellij-idea
三小尛1 小时前
C++拷贝构造函数
开发语言·c++
源力祁老师1 小时前
外部系统获取Odoo数据最便捷的方式
开发语言·前端·javascript