需求:在linux上安装composer(该指令是tp5手册上的)
[root@iz2zega6kootlf88q568d2z wx.xiyang66.top]# curl -sS https://getcomposer.org/installer | php
curl: (35) Encountered end of file
原因:服务器443端口未对外开放!
建议使用:https://pkg.phpcomposer.com/#how-to-install-composer 中国镜像网的安装指令,安装完顺便装镜像