如何在Godaddy共享主机上安装Composer? [英] How to install composer on godaddy shared hosting?

查看:83
本文介绍了如何在Godaddy共享主机上安装Composer?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试安装作曲家,但出现错误,

I'm trying to install composer and I'm getting an error ,

我做了什么,


  1. 下载的作曲家 wget https://getcomposer.org/installer

  2. php安装程序--check

  1. Downloaded composer wget https://getcomposer.org/installer
  2. php installer --check

所有正确使用Composer的设置

All settings correct for using Composer


  1. php安装程序

  1. php installer

我得到的错误,


https://getcomposer.org/versions 文件无法下载:
无法启用加密失败打开流:操作失败
下载反复失败,中止。

The "https://getcomposer.org/versions" file could not be downloaded: Failed to enable crypto failed to open stream: operation failed The download failed repeatedly, aborting.

我尝试了google却没有运气

I tried google but no luck

推荐答案

我知道这个问题已经很老了,但是我一直在寻找答案,并且已经得到答案了,所以在这里。

I know this question is quite old, but I've been looking for an answer to it for a while and just got it answered, so here it is.

您可以在Godaddy共享主机上安装作曲家吗:不,您不能。

Can you install composer on a Godaddy shared hosting: no you can't.

但是

Godaddy用于使用旧版控制面板的共享主机。如果您的共享托管帐户较旧,则很可能使用它。但是,Godaddy已转而使用cPanel进行Linux托管,现在购买了所有新的Linux共享托管产品。好消息是,这些帐户上已经安装了Composer版本(当前为1.1.1)。

Godaddy Shared hosting used to use a legacy control panel. If your shared hosting account is old, you are most likely using it. But, Godaddy has moved to cPanel for Linux hosting and all new Linux shared hosting purchases now come with it. The good news is, there is a version of Composer installed on these accounts (currently it's 1.1.1).

按照此链接以查看Godaddy托管帐户上的软件版本。

Follow this link to see software versions on Godaddy's hosting accounts.

我正在与Godaddy提供技术支持的电话中,他们确认了Composer是为cPanel托管帐户开箱即用安装的。

I was on the phone with Godaddy's tech support, and they confirmed that Composer was installed out-of-the-box for cPanel hosting accounts.

希望有帮助。

这篇关于如何在Godaddy共享主机上安装Composer?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆