title: lumen http error 500 in nginx and how to see error_log?
body: <p>my php project with lumen is ok on my computer with  <strong>WAMP</strong> (windows.apache.mysql.php) environment.</p>
  
  <p>but when i upload it to my server on with  <strong>LNMP</strong> (Linux,nginx,mysql,php) environment, </p>
  
  <p>i enter the URL , it came to  <strong>HTTP ERROR 500</strong> </p>
  
  <p>the root is </p>
  
  <pre><code>/home/wwwroot/www.projectname.cn/projectname/public;
  </code></pre>
  
  <p>So i put a test.php at "/home/wwwroot/www.projectname.cn/projectname/public"</p>
  
  <p>enter www.projectname.cn/test.php</p>
  
  <p>it's the right page.</p>
  
  <p>so i change the index.php </p>
  
  <pre><code>&lt;?php
  $app = require __DIR__.'/../bootstrap/app.php';
  dump($app);
  //$app-&gt;run();
  </code></pre>
  
  <p>also is <strong>HTTP ERROR 500</strong> </p>
  
  <p>and at local environment , i add a route in <strong>projectname/app/Http/routes.php</strong> </p>
  
  <pre><code>&lt;?php
  $app-&gt;get('/', function() use ($app) {
      return $app-&gt;welcome();
  });
  
  $app-&gt;get('/hello', function() {
      return "hello ";
  });
  </code></pre>
  
  <p>i enter <strong>“www.projectname.cn/hello”</strong> it also doesn't work </p>
  
  <p>the routes.php doesn't work </p>
  
  <p><strong>what's maybe the reason caused that ??</strong></p>