简体   繁体   English

使用Composer安装twilio软件包

[英]Installing twilio package using composer

I have deployed a Laravel app in a shared host. 我已经在共享主机中部署了Laravel应用。 I want to install package twilio and I get an error while installing using composer. 我想安装软件包twilio,使用composer安装时出现错误。

错误信息

I think I cannot modify php.ini since I haven't given rights to edit php.ini file (cPanel). 我认为我无法修改php.ini,因为我没有授予编辑php.ini文件(cPanel)的权利。

Can you please suggest a way to get through this? 您能否提出解决此问题的方法?

I managed to get through this by installing twilio in local server and then push all the modified files to the remote server. 我设法通过在本地服务器上安装twilio来解决此问题,然后将所有修改过的文件推送到远程服务器。 I had to manually merge the changes to the files in config folder. 我必须手动将更改合并到config文件夹中的文件。 But it worked though it was a tedious task. 尽管这是一项繁琐的任务,但它仍然奏效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM