搜索中心
全部 模块文档 模块 讨论 文档 问答
搜索 www.quickq-ok.cfd , 共找到 33 条记录
搜索结果
[文档] 系统运维 - 如何为网站强制增加 www
Nginx 参考配置 server { listen 80; server_name modstart.com; location / { rewrite ^/(.*)$ http://www.modstart.com/$1 permanent; } }
更新时间:2025-12-15 13:48:25
[文档] 系统运维 - 系统服务器间迁移网站和数据
1)复制整个网站目录到新的服务器 2)在新的服务器上配置系统,参照「安装入门」中的说明文档,保证访问可达 配置好新系统后,保证访问 http://example.com/install/ping 返回 ok 文本 如果有异常信息请参照「使用常见问题」解决。 3)修改必要的配置信息 /.env 文件 4)清理系统缓存 php artisan cache:clear php artisan view:clear 5)访问新的系统
更新时间:2025-12-15 13:48:25
[文档] 安装使用常见问题 - Q:You can't run this command as root ( uid = 0 ).
最新的系统使用了是否使用 root 运行 php artisan 命令的检测,如果是 root 用户运行会提示 You can't run this command as root ( uid = 0 ). 错误。 例如: [root@VM-0-16-centos example]# php artisan You can't run this command as root ( uid = 0 ). 问题原因 系统出于安全考虑,禁止使用 root 用户运行 artisan 命令。需要使用运行 PHP 的实际用户来执行该命令。 解决方法 第一步:查找 PHP 的运行用户 使用以下命令查看...
更新时间:2026-03-09 14:49:08
[文档] 系统升级说明 - Linux环境设置部署源为git仓库
开源用户请忽略此部分内容 # 切换到PHP的运行用户,通常为 www su www # 进入到系统目录中 cd /www/wwwroot/www.example.com # 进入到上一级目录 cd .. # 备份源系统为 mv www.example.com www.example.com.old # clone最新的git仓库 git clone https://xxx.example.com/git/xxx.git www.example.com # 进入到新系统目录 cd www.example.com # 复制老的系统文件到新系统中 cp ../www.example.com.old/.env . cp -a ../www.exampl...
更新时间:2024-09-27 17:43:49
[文档] 宝塔安装ModStart - 宝塔任务调度配置
sudo -u www /www/server/php/xx/bin/php /home/www/example.com/artisan schedule:run > /dev/null 2>&1 /www/server/php/70/bin/php 替换成 PHP 的运行路径,通常为 /www/server/php/70/bin/php www 需要替换成为 PHP 的执行用户 /www/wwwroot/example.com 需要替换成为真正的网站目录
更新时间:2025-03-18 10:01:58
[文档] 系统升级说明 - Windows环境设置部署源为git仓库
开源用户请忽略此部分内容 对于部分商业用户,我们提供了专属的git仓库地址用于前期项目的同步开发和测试。 # 右击打开 git bash # 切换到PHP的运行用户,通常为 www su www # 进入到系统目录中 cd /x/wwwroot/www.example.com # 进入到上一级目录 cd .. # 备份源系统为 mv www.example.com www.example.com.old # clone最新的git仓库 git clone https://xxx.example.com/git/xxx.git www.example.com # 进入到新系统目录 cd www...
更新时间:2024-09-27 17:43:49
[文档] 系统升级说明 - Linux环境同步git仓库代码
# 切换到PHP的运行用户,通常为 www su www # 进入到系统目录中 cd /www/wwwroot/www.example.com # 拉取最新代码 git pull origin master # 执行系统迁移命令 php artisan migrate # 执行模块迁移命令 php artisan modstart:module-install-all
更新时间:2024-09-27 17:43:49
[文档] 系统运维 - 网站强制跳转为 https
Nginx 参考配置 server { listen 80; server_name www.modstart.com; location / { rewrite ^/(.*)$ https://www.modstart.com/$1 permanent; } }
更新时间:2025-12-15 13:48:25
[文档] 安装使用常见问题 - Q:open_basedir restriction in effect
提示如下错误 require(): open_basedir restriction in effect *** open_basedir 设置是防跨站攻击的,出现这个错误需要进行如下设置。 Nginx 参考处理 在网站的 Nginx 配置增加 server { # ... location ~ \.php$ { # ... # 需要设置到网站根目录 www.example.com fastcgi_param PHP_VALUE "open_basedir=/var/www/html/www.example.com/:/tmp/:/var/tmp/"; # ... }...
更新时间:2026-03-09 14:49:08
[文档] 安装使用常见问题 - Q:Rewrite规则错误
在安装过程中,伪静态错误是经常会出现的问题,可以根据以下几种方式进行排错: 如果确信伪静态规则无误,可以通过访问 /install/ping 来访问,如果页面结果为OK则表示伪静态配置成功。 基础准备工作 基础工作的准备可以让你更快的定位错误 第一步,打开调试(配置 .env 文件中 APP_DEBUG=true),可以让错误显示在页面上,方便调试 第二步,配置服务器的网站根目录为 /www/example.com/public 或 D:/wwwroot/example.com/public...
更新时间:2026-03-09 14:49:08
QQ
微信
客服