ericovk
Verified User
I would like to install a php library called JPgraph, but have no clue where to do so. (Currently running custombuild 2.0 with php 5.5.14) Do I need to recompile php after "installation"?
Last edited:
JpGraph is an Object-Oriented Graph creating library for PHP >= 5.1 (including 5.4 and 5.5) The library is completely written in PHP and ready to be used in any PHP scripts (both CGI/APXS/CLI versions of PHP are supported).
1-1 Where should I install the library?
The simple answer is: Anywhere You like! Since the necessary library files are included in Your own script with an "include" statement it doesn't matter where You put the library as long as Your scripts can access it. A common place is to store the library is in a directory where PHP searches for include files (as specified in Your php.ini file), for example in "/usr/share/php" or perhaps "/usr/local/php" depending on Your PHP configuration. An even simpler way is to just store the library in a directory where Your scripts are executed from.