请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

服务器500

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!

正在回答 回答被采纳积分+3

2回答

提问者 精慕门3009551 2020-06-11 15:07:29

崩溃了 怎么都不行


0 回复 有任何疑惑可以回复我~
提问者 精慕门3009551 2020-06-11 15:00:46

好像是这个 

 *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


0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号