Answers.Body: <p>It might depend of the template layout you use or token or... plenty of reasons that the pdf generation can become slow.</p>
  
  <p>In general, if you want good performances for pdf generations, install wkhtmltopdf and configure civicrm to use it</p>
  
  <p>The way pdf generation works is that civicrm generates an html page first, then convert it to pdf. wkhtmltopdf is a software that does it way faster than doing it in php native</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-17T16:21:19.063Z
Answers.LastActivityDate: 2015-06-17T16:21:19.063Z
Answers.UserDisplayName: Xavier
Body: <p>Civi 4.5.6 on Drupal 7.3.5</p>
  
  <p>Go to make a single contribution receipt and get the following error </p>
  
  <p>Fatal error: Maximum execution time of 30 seconds exceeded in /srv/www/yyyyyy/public_html/sites/all/modules/civicrm/packages/dompdf/include/line_box.cls.php on line 78</p>
  
  <p>any thoughts ?</p>
  
Tags: <pdf>
Title: PDF Generation Error
ThreadText: # PDF Generation Error
  
  (Asked by: username_0 on 2015-06-17)
  
  Civi 4.5.6 on Drupal 7.3.5
  
  Go to make a single contribution receipt and get the following error
  
  Fatal error: Maximum execution time of 30 seconds exceeded in /srv/www/yyyyyy/public\_html/sites/all/modules/civicrm/packages/dompdf/include/line\_box.cls.php on line 78
  
  any thoughts ?
  
  **Tags:** pdf
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-06-17. Score: 5
  
  It might depend of the template layout you use or token or... plenty of reasons that the pdf generation can become slow.
  
  In general, if you want good performances for pdf generations, install wkhtmltopdf and configure civicrm to use it
  
  The way pdf generation works is that civicrm generates an html page first, then convert it to pdf. wkhtmltopdf is a software that does it way faster than doing it in php native
  
  
  ---
  
  