jpgraph installeren onder MAMP

Status
Niet open voor verdere reacties.

tiengemeten

Gebruiker
Lid geworden
9 jan 2008
Berichten
26
ik wil nu grafieken tekenen met php en daarvoor kun je de jpgraph library gebruiken. probleem is de installatie. als ik jpgraph onder htdocs plaats werkt de library niet. als je de test files probeert blijken eigenlijk de fonts niet te werken; heeft iemand een oplossing ?

gr Jan-Pieter
 
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.

Volgens de site maak het niet uit in welke map je het zet, want je moet de Lib includen
 
jpgraph installatie onder MAMP

de library staat nu onder de dir die in php.ini wordt aangegeven voor de include files; het werkt echter nog steeds niet ... (overigens gebruikt php de require_once ipv include)
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan