Bonjour,
Voila mon problème :
J'utilise NuSphere PHPED 4 pour coder. J'ai aussi installé Easy PHP pour exécuter mes scripts en local. Pour l'instant tout va bien. J'ai ensuite téléchargé JPGRAPH et je l'ai décompressé. Puis, j'ai voulu faire un essai avec un graphique, j'ai bien entendu donné le chemin complet pour les inclusions de JPGRAPH, mais là, quand j'exécute mon script avec Easy PHP, j'ai une erreur qui s'affiche :
Notice: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' in D:\Téléchargements\php\jpgraph-1.20.3\jpgraph-1.20.3\src\jpgraph.php on line 447
JpGraph Error This PHP installation is not configured with the GD library. Please recompile PHP with GD support to run JpGraph. (Neither function imagetypes() nor imagecreatefromstring() does exist)
Et quand j'execute mon code de test avec NuSphere, j'ai droit à peu près à la même erreur :
JpGraph Error This PHP installation is not configured with the GD library. Please recompile PHP with GD support to run JpGraph. (Neither function imagetypes() nor imagecreatefromstring() does exist)
Voilà.
Quelqu'un a-t-il la solution à mon problème ??
Merci
Partager