I have this simple code:
<?php
require_once __DIR__.'/../vendor/autoload.php';
$app = new Silex\Application();
$app->get('/hello', function() { return 'Hello!'; });
//$app->register(new Silex\Provider\MonologServiceProvider(), array(
// 'monolog.logfile' => __DIR__.'/development.log',
//));
$app->run();
?>
It works. If I have try to register the Monolog service (removing the 3 beginning '//' comments keywords), nothing works anymore:
$app->register(new Silex\Provider\MonologServiceProvider(), array(
'monolog.logfile' => __DIR__.'/development.log',
));
I have try the installation through fat zip, and by composer but, same results. I am out of ideas ?
Any help would be appreciated.