On Nov 5, 2011, at 4:23 PM, Phil Dobbin wrote:

> On 5/11/11 at 22:58, [email protected] (Phil Dobbin) wrote:
> 
>> Thanks, Bradley. That installed fine.
>> 
>> I’ve edited the `config.inc.php` in `AWSSDKforPHP` to include my Amazon 
>> Security details so should be good to go.
> 
> When running one of the sample files in the SDK I’m getting:
> 
> <br />
> <b>Warning</b>:  require_once(../sdk.class.php) [<a 
> href='function.require-once'>function.require-once</a>]: failed to open 
> stream: No such file or directory in 
> <b>/opt/local/apache2/htdocs/cli-s3_get_urls_for_uploads.php</b> on line 
> <b>47</b><br />
> <br />
> <b>Fatal error</b>:  require_once() [<a 
> href='function.require'>function.require</a>]: Failed opening required 
> '../sdk.class.php' 
> (include_path='.:/opt/local/lib/php:/opt/local/lib/php/pear') in 
> <b>/opt/local/apache2/htdocs/cli-s3_get_urls_for_uploads.php</b> on line 
> <b>47</b><br />

What is the command here:
/opt/local/apache2/htdocs/cli-s3_get_urls_for_uploads.php: line 47

This should work:
require_once("AWSSDKforPHP/sdk.class.php");


Regards,
Bradley Giesbrecht (pixilla)




_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to