1. 主页
  2. 文档
  3. 多域名多服务器配置回调系统帮助文档...
  4. 安装
  5. 多域名多服务器回调系统安装问题

多域名多服务器回调系统安装问题

Q:访问域名时出现如下错误:

Warning: require(/www/wwwroot/back.juyun.top/public/../vendor/autoload.php): failed to open stream: No such file or directory in /www/wwwroot/back.juyun.top/public/index.php on line 15

Fatal error: require(): Failed opening required '/www/wwwroot/back.juyun.top/public/../vendor/autoload.php' (include_path='.:') in /www/wwwroot/back.juyun.top/public/index.php on line 15

A:解决方法:

第一步:进入网站根目录,然后点击终端。

第二步:在终端窗口运行下面的命令:

composer install

第三步:出现如下界面,则表示composer安装完成,再次访问域名安装。

PHP Warning:  Module "swoole_loader" is already loaded in Unknown on line 0
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? y  此处输入y,然后回车。
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 15 installs, 0 updates, 0 removals
  - Locking cccyun/think-captcha (3.0.9)
  - Locking psr/container (1.1.2)
  - Locking psr/http-message (1.1)
  - Locking psr/log (1.1.4)
  - Locking psr/simple-cache (1.0.1)
  - Locking symfony/polyfill-mbstring (v1.29.0)
  - Locking symfony/polyfill-php72 (v1.29.0)
  - Locking symfony/polyfill-php80 (v1.29.0)
  - Locking symfony/var-dumper (v4.4.47)
  - Locking topthink/framework (v6.1.4)
  - Locking topthink/think-helper (v3.1.6)
  - Locking topthink/think-orm (v2.0.61)
  - Locking topthink/think-template (v2.0.9)
  - Locking topthink/think-trace (v1.6)
  - Locking topthink/think-view (v1.0.14)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 15 installs, 0 updates, 0 removals
  - Downloading topthink/think-helper (v3.1.6)
  - Downloading psr/simple-cache (1.0.1)
  - Downloading psr/log (1.1.4)
  - Downloading topthink/think-orm (v2.0.61)
  - Downloading psr/http-message (1.1)
  - Downloading psr/container (1.1.2)
  - Downloading symfony/polyfill-mbstring (v1.29.0)
  - Downloading topthink/framework (v6.1.4)
  - Downloading cccyun/think-captcha (3.0.9)
  - Downloading symfony/polyfill-php80 (v1.29.0)
  - Downloading symfony/polyfill-php72 (v1.29.0)
  - Downloading symfony/var-dumper (v4.4.47)
  - Downloading topthink/think-trace (v1.6)
  - Downloading topthink/think-template (v2.0.9)
  - Downloading topthink/think-view (v1.0.14)
  - Installing topthink/think-helper (v3.1.6): Extracting archive
  - Installing psr/simple-cache (1.0.1): Extracting archive
  - Installing psr/log (1.1.4): Extracting archive
  - Installing topthink/think-orm (v2.0.61): Extracting archive
  - Installing psr/http-message (1.1): Extracting archive
  - Installing psr/container (1.1.2): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.29.0): Extracting archive
  - Installing topthink/framework (v6.1.4): Extracting archive
  - Installing cccyun/think-captcha (3.0.9): Extracting archive
  - Installing symfony/polyfill-php80 (v1.29.0): Extracting archive
  - Installing symfony/polyfill-php72 (v1.29.0): Extracting archive
  - Installing symfony/var-dumper (v4.4.47): Extracting archive
  - Installing topthink/think-trace (v1.6): Extracting archive
  - Installing topthink/think-template (v2.0.9): Extracting archive
  - Installing topthink/think-view (v1.0.14): Extracting archive
1 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
> @php think service:discover
PHP Warning:  Module "swoole_loader" is already loaded in Unknown on line 0
Succeed!
> @php think vendor:publish
PHP Warning:  Module "swoole_loader" is already loaded in Unknown on line 0
File /www/wwwroot/back.juyun.top/config/captcha.php exist!
File /www/wwwroot/back.juyun.top/config/trace.php exist!
Succeed!
4 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

我们要如何帮助您?

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注