Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

网站环境:Apache/Nginx + Mysql/MariaDB + PHP5/PHP7

必须配置:

1. 文件上传位置:ueditor 和 upload 这两个目录的“其它人”必须有读写执行权限。

  • 例如,Unix环境下,设置chmod -R 777 ueditor upload

2. 修改/lib/config.php里的数据库配置

  • 'user'=>'数据库用户'
  • 'passwd'=>'数据库密码'
  • 'db'=>'库名'

3. php.ini

  • 修改 upload_max_filesize = 100M 和 post_max_size = 100M (允许上传多大文件)
  • 修改date.timezone = PRC
  • 修改 allow_url_fopen = Off 和 allow_url_include = Off (网站安全)
  • 删掉注释 extension = php_mysqli.dll

4. httpd.conf

  • 删掉注释(#) LoadModule php7_module (php5_module)

5. my.cnf (my.ini)

  • sql_mode = “************” 删除其中的“only_full_group_by”

6. 引入初始化数据库

  • mysql -u root -p < java_web.sql (文件在/lib目录下)

7. 网站初始账号密码:

  • 账号:root
  • 密码:java2019

8. 网站后台管理系统:

  • domain.com/manage/front

About

信科学院精品课程项目建设时制作,以及是个人的毕业设计

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.