1<html> 2<head> 3<title>html2ps/html2pdf error message</title> 4<style> 5body { 6 color:#000; 7 background-color:#fff; 8 margin:10px; 9 font-family:arial, helvetica, sans-serif; 10 color:#000; 11 font-size:12px; 12 line-height:18px; 13} 14p,td { 15 color:#000; 16 font-size:12px; 17 line-height:18px; 18 margin-top:3px; 19 vertical-align: top; 20} 21h1 { 22 font-family:arial, helvetica, sans-serif; 23 color:#669; 24 font-size:27px; 25 letter-spacing:-1px; 26 margin-top:12px; 27 margin-bottom:12px; 28} 29tr.odd { 30 background-color: #f0f0f0; 31} 32tr.even { 33 background-color: #ffffff; 34} 35td { 36 padding: 3px; 37} 38</style> 39</head> 40<body> 41<h1>Error</h1> 42<p> 43'exec' function is disabled in your PHP configuration. 44You will not be able to generate PDF using 45<b>PDF (Ghostscript, level 1.2)</b> 46or <b>PDF (Ghostscript, level 1.4)</b> output methods, as these output methods 47require GNU Ghostscript or AFPL Ghoscript executables to be run on your server. 48<p> 49<table> 50<tr class="odd"> 51<th width="20%">Problem</th><th>Solution</th> 52</tr> 53<tr class="even"> 54<td rowspan="2">'exec' function is disabled (please note that it have nothing to do with the PHP <i>safe mode</i>; 55particular functions can be disabled even when <i>safe mode</i> is OFF).</td> 56<td>Enable 'exec' function in your php.ini (refer your PHP manual or <a href="http://www.php.net">www.php.net</a> for exact instructions) 57</td> 58</tr> 59<tr class="odd"> 60<td>Try using output methods not requiring running executables on your server.</td> 61</tr> 62</table> 63</body> 64</html> 65