Websoft9Archive / ansible-phpapps

Automatic installation for phpApps on Linux(PHP应用自动安装程序)
Other
1 stars 3 forks source link

Huawei cloud update PHP runtime environment production error #51

Closed tangi07 closed 1 year ago

tangi07 commented 2 years ago

Describe the bug

php7.2版本可以正常生产安装,7.2版本以下的生产错误。 }PD6URCC`WLBU)9PXH 8 4B TASK [role_php : Update composer] *** fatal: [119.8.52.218]: FAILED! => {"changed": true, "cmd": "composer self-update -n", "delta": "0:00:00.096034", "end": "2022-04-22 10:45:29.569501", "msg": "non-zero return code", "rc": 1, "start": "2022-04-22 10:45:29.473467", "stderr": "", "stderr_lines": [], "stdout": "Composer 2.3.0 dropped support for PHP <7.2.5 and you are running 7.1.33, please upgrade PHP or use Composer 2.2 LTS via \"composer self-update --2.2\". Aborting.", "stdout_lines": ["Composer 2.3.0 dropped support for PHP <7.2.5 and you are running 7.1.33, please upgrade PHP or use Composer 2.2 LTS via \"composer self-update --2.2\". Aborting."]}

Deployment method

Bug source

System Environment

Application Version

e.g v4.5

OS

Cloud PlatForm

Bug reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Bug reports

Bug Context

Bug context includes bug error, error logs and service status, it is very important for resolving issue

# bug error
(paste here) 

# service status 
(paste here) 

# error logs
(paste here) 

Bug Screenshot

paste screenshot here

Your suggestion

The reason of Bug

You can describe the reason if you have found it

Your solution for Bug

You can describe your solution here

Additional context

You can add any other context about the problem here.

chendelin1982 commented 1 year ago

use docker image to replace it