fabpot/Silex — Issue #220: Run silex on Mamp
Author: serialbob
Created: 2011-12-17 18:22:28+00:00
State: open

Hi,
I try to use Silex on my Mamp, and it doesn't work.
I follow the instructions, but nothing change (white page), even if i activate the debug.
I've created successfully the vhost, and the .htaccess.
In my php file, i've this code:

require_once __DIR__.'/silex.phar';

$app = new Silex\Application();

$app->get('/hello/{name}', function($name) {
return "Hello $name";
});

$app->run();

Thanks for your help.