1

i can enable phar extension but i get this error:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/cesartineo/tineo.mobi/public/silex/silex.phar on line 27

Parse error: syntax error, unexpected T_STRING in /home/cesartineo/tineo.mobi/public/silex/silex.phar on line 27

i use the example .htaccess and index.php from the silex web.

require_once __DIR__.'/silex.phar';

$app = new Silex\Application();

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

$app->run();
tineo
  • 121

1 Answers1

0

make sure you're running on PHP 5.3.2 or later.

Good luck!