Closed tangi07 closed 1 year ago
Describe the bug
php7.2版本可以正常生产安装,7.2版本以下的生产错误。 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."]}
Application Version
e.g v4.5
OS
Cloud PlatForm
Steps to reproduce the behavior:
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)
paste screenshot here
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.
use docker image to replace it
Describe the bug
php7.2版本可以正常生产安装,7.2版本以下的生产错误。 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:
Bug reports
Bug Context
Bug context includes bug error, error logs and service status, it is very important for resolving issue
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.