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
<?php define('FPDF_FONTPATH','/home/php/File/PDF/fonts/'); require('/home/php/File/PDF.php'); $pdf=new FPDF('P', 'mm', array(100,150)); $pdf->AddPage(); $pdf->SetFont('times'); $pdf->Cell(40,10,'Hello World!'); $pdf->Output("ruchit.pdf", D); ?>