Blame | Letzte Änderung | Log anzeigen | RSS feed
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1"><LINK REL="Start" HREF="index.html"><LINK REL="Contents" HREF="toc.html"><LINK REL="Prev" HREF="34Imageformatsandexternalimagelibraries.html"><LINK REL="Next" HREF="36Troubleshootingyourinstallation.html"><STYLE TYPE="text/css"><!--BODY { font-family: serif }H1 { font-family: sans-serif }H2 { font-family: sans-serif }H3 { font-family: sans-serif }H4 { font-family: sans-serif }H5 { font-family: sans-serif }H6 { font-family: sans-serif }SUB { font-size: smaller }SUP { font-size: smaller }PRE { font-family: monospace }A { text-decoration: none }--></STYLE></HEAD><BODY><A HREF="toc.html">Contents</A><A HREF="34Imageformatsandexternalimagelibraries.html">Previous</A><A HREF="36Troubleshootingyourinstallation.html">Next</A><HR NOSHADE><H2><A NAME="3_5">3.5 Detailed steps to install JpGraph</A></H2><P></P><OL><LI>If You are insatlling the 1.x branch then make sure the PHP versionused is at least 4.3.x (preferable 4.3.10 or higher) and that the PHPversion have compiled support for GD library. It is absolutely criticalthat GD is fully working. Please see the earlier sections on how tomake sure. JpGraph supports both GD 1.x and GD 2.x However it isstrongly recommended to use GD 2.x since that will improve performanceand support true color images as well as alphablending.<P> If You are insatlling the 2.x branch then make sure the PHP versionused is at least 5.0.1 (preferable 5.0.5 or higher) and that the PHPversion have compiled support for GD 2.x library. Please note that the2.x branch will<B> not</B> work with PHP 4.x</P></LI><LI>Unzip and copy the files to a directory of your choice.</LI><LI>Set up the directory paths in<I> jpg-config.inc.php</I> where thecache directory should be and where your TTF directory is. Note thatApache/PHP must have write permission in your cache directory.</LI><LI> Check that all rest of the DEFINE in the top of JpGraph.php issetup to your preference. The default should be fine for most users.(See also Note 5. below) Specifically check that the settings ofUSE_GD2_LIBRARY reflects your installation, (should be true if you haveGD2 installed, false otherwise).</LI><LI>Make sure PHP have write privileges to your cache directory if youplan on using the cache feature.</LI><LI> Some windows installations seems to have a problem with a PHPscript ending in a newline (This newline seems to be sent to thebrowser and will cause a Header already sent error). If you have thisproblem try remove all trailing newlines in the jpgraph* files</LI><LI> Read (really!) <A href="http://www.aditus.nu/jpgraph/jpgraphfaq.html">the JpGraph FAQ</A>.</LI></OL><P></P><HR NOSHADE><A HREF="toc.html">Contents</A><A HREF="34Imageformatsandexternalimagelibraries.html">Previous</A><A HREF="36Troubleshootingyourinstallation.html">Next</A></BODY></HTML>