I set up a Silex-project local using a XAMPP on Mac. Everything works fine. Now I uploaded the files to my Amazon ec2 server and tried to run it. I always get the php errormessage:
"Fatal error: Class 'Silex\Application' not found in /opt/bitnami/apps/..."
I'm using Composer to handle the dependencies. The first lines of my file look like this:
<?php
require_once __DIR__.'/../vendor/autoload.php';
$app = new Silex\Application();
$app['debug'] = true;
Anyone has a clue how to solve that? Where could there be a problem?
Thanks a lot! Cheers