Hey,
I have installed the latest BitNami Lampstack on Amazon Ec2. (ami-d2e995bb) Everything is working fine, except that it has php method problems. After trying multiple files I came to teh conclusion that the problem must be something in the server. One of the errors on the AWS api I get is:
Fatal error: Call to undefined method Symfony\\Component\\ClassLoader\\UniversalClassLoader::registerNamespaces() in /opt/bitnami/apache2/htdocs/aws-autoloader.php on line 24
They all give the 'Call to undefined method' error. Does anybody know a fix for this??
Thanks, Sam
PHP file used:
<?php
require 'aws-autoloader.php';
use Aws\\Ec2\\Ec2Client;
$client = Ec2Client::factory(array(
'key' => 'AKIAJC2ATMX2P2XTMEIQ',
'secret' => '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',
'region' => 'us-east-1'
));
?>