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

通过源安装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日