dongpu8935 2015-05-19 11:27
浏览 383
已采纳

通过源安装AWS SDK for PHP失败

Downloading the last sourcecode of AWS SDK PHP from github in .zip and trying to load it trough:

require 'aws-autoloader.php';
use Aws\Common\Aws;

and getting this error when it tries to load the Guzzle library:

Fatal error: Uncaught exception 'Guzzle\Common\Exception\InvalidArgumentException' with message 'Unable to open /config.php for reading' in /srv/www_nfs_desarrollo/vhosts/desarrollo.techmaker.net/httpdocs/oaviles/src/Guzzle/Service/AbstractConfigLoader.php on line 120

Didn't touched anything from the source. I can't use composer or any other dependencies manager, so only way to use this SDK is via the zip download. The dependencies are suposed to be included on the .zip but autoloader is not working at all. Any ideas?

  • 写回答

1条回答 默认 最新

  • duanbi2760 2015-05-19 11:45
    关注

    Solved! I had a bad line on my index.php

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 专家修改了标签 8月18日

悬赏问题

  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办