Blame | Letzte Änderung | Log anzeigen | RSS feed
<html><head><title>html2ps/html2pdf error message</title><style>body {color:#000;background-color:#fff;margin:10px;font-family:arial, helvetica, sans-serif;color:#000;font-size:12px;line-height:18px;}p,td {color:#000;font-size:12px;line-height:18px;margin-top:3px;vertical-align: top;}h1 {font-family:arial, helvetica, sans-serif;color:#669;font-size:27px;letter-spacing:-1px;margin-top:12px;margin-bottom:12px;}tr.odd {background-color: #f0f0f0;}tr.even {background-color: #ffffff;}td {padding: 3px;}</style></head><body><h1>Error</h1><p>Ghostscript executable not found. You will not be able to generate PDF using<b>PDF (Ghostscript, level 1.2)</b>or <b>PDF (Ghostscript, level 1.4)</b> options, as these output methodsrequire GNU Ghostscript or AFPL Ghoscript to be installed on your server.<p><table><tr class="odd"><th width="20%">Problem</th><th>Solution</th></tr><tr class="even"><td>Ghostscript not installed on your server</td><td>Install Ghostscript 7.xx or 8.xx yourself or ask your system administrator.Please note that if you're using some kind of package manager, you'll need both'ghostscript' and 'ghostscript-fonts' packages for PDF generation (some ghostscriptdistributions do include fonts; some don't).</td></tr><tr class="odd"><td>Installed Ghostscript executable have a non-standard name</td><td>Modify <b><a href="help/configuration.html#postscript">GS_PATH</a></b>configuration variable to match the real nameof Ghostscript executable. Say, if you're usingWindows-based server, you probably have Ghostscript executable named<tt>gswin32c.exe</tt> instead of more common <tt>gs</tt>; in this case,set the value of <b><a href="help/configuration.html#postscript">GS_PATH</a></b>to <tt>'gswin32c.exe'</tt> (NOT <tt>gswin32.exe</tt>!)</td></tr><tr class="even"><td>System search path does not include path to Ghostscript executable.</td><td>Either modify the system search path, or provide <b>full</b> pathto Ghostscript executable; for example, set the<b><a href="help/configuration.html#postscript">GS_PATH</a></b> valueto <tt>'/usr/local/bin/gs'</tt> (or whatever the real path to Ghostscripton your server is). Please note the difference between your userprofile and user profile PHP is running under! While you may have Ghostscripton your default search path, <i>nobody</i> or <i>apache</i> (or whatever thename of system account running web server is) may have different search path notinluding the ghostscript directory.</td></tr><tr class="odd"><td rowspan="2">You're using PHP in <i>safe mode</i> and Ghostscript is not onyour <i>safe_mode_exec_dir</i> (please, refer to your PHP documentationor <a href="http://www.php.net">www.php.net</a> for explanation of these terms).</td><td>Turn PHP <i>safe mode</i> off yourself or ask your system administrator.<td><tr class="even"><td>Add path to Ghostscript executable to your <i>safe_mode_exec_dir</i> PHP configurationvariable (or ask your system administrator to do it)</td></tr></tr></table></body></html>