服务器500
来源:3-1 Linux LAMP和Win Wamp 运行环境配置
精慕门3009551
2020-06-11
Fatal error: Cannot use ‘Object’ as class name as it is reserved in /home/wwwroot/default/books/vendor/yiisoft/yii2/base/Object.php on line 77
升级yii 一直报错
oot@iZ2zebi66737fip3anwi0hZ books]# composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 5 installs, 6 updates, 0 removals
-
Installing symfony/event-dispatcher-contracts (v1.1.7): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class -
Installing psr/container (1.0.0): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class -
Updating symfony/event-dispatcher (v3.2.2 => v4.4.9): Downloading (100%) The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class -
Installing symfony/service-contracts (v2.1.2): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class -
Installing symfony/polyfill-php73 (v1.17.0): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class -
Updating symfony/console (v3.2.2 => v4.4.9): Downloading (100%) The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class -
Updating symfony/finder (v3.2.2 => v4.4.9): Downloading (100%) The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class -
Installing ralouphie/getallheaders (3.0.3): Downloading (failed)
Downloading (failed)
Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class -
Updating guzzlehttp/psr7 (1.3.1 => 1.6.1): Downloading (100%) The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class -
Updating codeception/base (2.2.8 => 2.5.6): Downloading (100%) The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class -
Updating codeception/verify (0.3.2 => 0.3.3): Downloading (100%) The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
symfony/event-dispatcher-contracts suggests installing psr/event-dispatcher
symfony/service-contracts suggests installing symfony/service-implementation
Package 2amigos/yii2-qrcode-helper is abandoned, you should avoid using it. Use 2amigos/qrcode-library instead.
Package codeception/base is abandoned, you should avoid using it. No replacement was suggested.
Writing lock file
Generating autoload files
5 packages you are using are looking for funding.
Use the composer fund command to find out more!
2回答
-
精慕门3009551
提问者
2020-06-11
崩溃了 怎么都不行
00 -
精慕门3009551
提问者
2020-06-11
好像是这个
*2 FastCGI sent in stderr: "PHP message: PHP Warning: require(/home/wwwroot/default/books/web/../vendor/autoload.php): failed to open stream: No such file or directory in /home/wwwroot/default/books/web/index.php on line 7
PHP message: PHP Fatal error: require(): Failed opening required '/home/wwwroot/default/books/web/../vendor/autoload.php' (include_path='.:/usr/local/php/lib/php') in /home/wwwroot/default/books/web/index.php on line 7" while reading response header from upstream, client: 114.64.254.123, server: _, request: "GET /books/web/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "123.56.104.33
00
相似问题
回答 1
回答 2