aws sdk for php 2 integration with codeigniter |
[eluser]Greg767[/eluser]
So, for anyone interested, here is how I did it (on Win8 and WAMP): Install Composer for windows. For a successful installation you need to enable php-openssl and php-curl in WAMP. This need to be enabled also in wamp/bin/php/php.ini and not only on WAMP user interface. Also I chose to install composer with the Explorer plugin, this way you can have Composer in the contextual menu in explorer (right-click). In the project root directory (I use netbeans) create a composer.json and put this as content: Code: { Right-click in the project's root folder (where the json is) and choose Composer Install from the right-click menu. This will install everything. In the root folder in index.php add this line: Code: require_once './vendor/autoload.php'; In application/config create aws_sdk.php with the following content: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); In application/libraries create Aws_sdk folder. In application/libraries/Aws_sdk create Aws_sdk.php with the following: Code: <?php Thats all. It worked for me. Greg PS.: Original source of this solution: https://github.com/fcosrno/aws-sdk-php-codeigniter |
Messages In This Thread |
aws sdk for php 2 integration with codeigniter - by El Forum - 03-23-2013, 06:50 AM
aws sdk for php 2 integration with codeigniter - by El Forum - 05-03-2013, 04:53 AM
aws sdk for php 2 integration with codeigniter - by El Forum - 08-09-2013, 10:15 AM
aws sdk for php 2 integration with codeigniter - by El Forum - 08-26-2014, 02:23 AM
aws sdk for php 2 integration with codeigniter - by El Forum - 08-28-2014, 01:51 AM
|