title: Facing issue generating pdf using fpdf
body: <p>I am getting http500 for the code below,I am not sure what is wrong. I am new to php. I have checked that PDF.php is in the right directory and so does fonts</p>
  
  <pre><code>&lt;?php
  define('FPDF_FONTPATH','/home/php/File/PDF/fonts/');
  require('/home/php/File/PDF.php');
  $pdf=new FPDF('P', 'mm', array(100,150));
  $pdf-&gt;AddPage();
  $pdf-&gt;SetFont('times');
  $pdf-&gt;Cell(40,10,'Hello World!');
  $pdf-&gt;Output("ruchit.pdf", D);
  ?&gt;
  </code></pre>