I'm trying to install jpgraph on AppServ 2.6 which comes php6. Anytime I try using the library I get the following error:
The installed PHP version is (6.0.0-dev)is not compatible with this release of the library. The library requires at least PHP version 5.1.0.
The version I'm using is jpgraph-3.0.7.

Honestly, the state of php6 is so widely unknown at this point, and with adoption of php 5.3 only starting to become common, your best bet would be to lose the 6.0.0-dev build, and develop on 5.3 if you want bleeding edge and any chance of actually having something deployed. 5.2 if you want the best compatibility across the board. I think we will see php 5.4 long before we see an official php 6 release as it looks like they've even removed php 6 from the snapshots downloads.

My guess is something in jpgrah is looking for the major version of php to be 5 and that is why you're getting that error.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.