Re: [mapguide-users] mapguide-rest setup issue with Mpaguide 2.5.2

2016-11-04 Thread Rémy Gourrat
Thanks a lot Jackie, it was the right way !

After few hours to understand and resolve ERROR 500 (add privileges Write/Edit 
on the rest cache directory to the IIS_USERS group),

I had success to print my first Map Image with filter on my own map, and just 
after i have inserted this rest link in a jasper server report, I was like 
children with my beautiful dynamic report with a beautiful dynamic map !

Thanks again for this very powerful mapguide-rest.

Rémy




-
AG-Carto - Bayonne
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-rest-setup-issue-with-Mpaguide-2-5-2-tp5294155p5294348.html
Sent from the MapGuide Users mailing list archive at Nabble.com.___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-rest setup issue with Mpaguide 2.5.2

2016-11-03 Thread Jackie Ng
PHP 5.3 is long unsupported and full of security vulnerabilities. MapGuide
2.5.x is sadly tied to this version of PHP (because newer PHP versions are
built with an incompatible MSVC compiler) so you cannot just swap it out
that for a newer once.

All I can suggest (if you *really* have to stay on this version) is try the
most recent release package of mapguide-rest (you can find it under the
releases section). Just forget about trying a source-based install as that
requires setting up dev dependencies with composer, which requires PHP 5.5
at a bare minimum. All those incompatible errors you're seeing are for
dependencies needed to *build* various bits of mapguide-rest (eg. swagger
docs, release packaging, etc), but are not actually used by mapguide-rest.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-rest-setup-issue-with-Mpaguide-2-5-2-tp5294155p5294171.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] mapguide-rest setup issue with Mpaguide 2.5.2

2016-11-03 Thread Rémy Gourrat
Hi,

I try to setup mapguide-rest with MapGuide 2.5.2 which use PHP 3.3.8,

I read that theorically mapguide-rest is running with a mapguide supporting PHP 
3.3 and upper

Jackie said that :
"mapguide-rest has been tested on MapGuide Open Source 2.6.
It should theoretically work on any installation of MapGuide Open Source or 
AIMS that includes PHP 5.3 or newer."

When I execute composer install I see lot of problems of dependencies.

The only solution is to setup another PHP outside mapguide 2.5.2 (I can't 
migrate in 2.5.6) ?

Or can I get an old mapguide-rest 2.5.2 compatible ?

Thanks for your advice

Rémy

When I execute composer install, I see that :

C:\Program Files\OSGeo\MapGuide\Web\www\rest>composer install
Your version of PHP, 5.3.8-Win64, is affected by CVE-2013-6420 and cannot 
safely perform certificate validation, we strongly suggest you upgrade.
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
- Installation request for brianium/paratest dev-master -> satisfiable by 
brianium/paratest[dev-master].
- brianium/paratest dev-master requires php >=5.5.11 -> your PHP version 
(5.3.8) does not satisfy that requirement.
  Problem 2
- Installation request for phpdocumentor/reflection-common 1.0 -> 
satisfiable by phpdocumentor/reflection-common[1.0].
- phpdocumentor/reflection-common 1.0 requires php >=5.5 -> your PHP 
version (5.3.8) does not satisfy that requirement.
  Problem 3
- Installation request for phpdocumentor/reflection-docblock 3.1.1 -> 
satisfiable by phpdocumentor/reflection-docblock[3.1.1].
- phpdocumentor/reflection-docblock 3.1.1 requires php >=5.5 -> your PHP 
version (5.3.8) does not satisfy that requirement.
  Problem 4
- Installation request for phpdocumentor/type-resolver 0.2 -> satisfiable 
by phpdocumentor/type-resolver[0.2].
- phpdocumentor/type-resolver 0.2 requires php >=5.5 -> your PHP version 
(5.3.8) does not satisfy that requirement.
  Problem 5
- Installation request for symfony/console v3.1.5 -> satisfiable by 
symfony/console[v3.1.5].
- symfony/console v3.1.5 requires php >=5.5.9 -> your PHP version (5.3.8) 
does not satisfy that requirement.
  Problem 6
- Installation request for symfony/debug v3.1.5 -> satisfiable by 
symfony/debug[v3.1.5].
- symfony/debug v3.1.5 requires php >=5.5.9 -> your PHP version (5.3.8) 
does not satisfy that requirement.
  Problem 7
- Installation request for symfony/finder v3.1.5 -> satisfiable by 
symfony/finder[v3.1.5].
- symfony/finder v3.1.5 requires php >=5.5.9 -> your PHP version (5.3.8) 
does not satisfy that requirement.
  Problem 8
- Installation request for symfony/process v3.1.5 -> satisfiable by 
symfony/process[v3.1.5].
- symfony/process v3.1.5 requires php >=5.5.9 -> your PHP version (5.3.8) 
does not satisfy that requirement.
  Problem 9
- Installation request for symfony/yaml v3.1.5 -> satisfiable by 
symfony/yaml[v3.1.5].
- symfony/yaml v3.1.5 requires php >=5.5.9 -> your PHP version (5.3.8) does 
not satisfy that requirement.
  Problem 10
- Installation request for zircote/swagger-php 2.0.7 -> satisfiable by 
zircote/swagger-php[2.0.7].
- zircote/swagger-php 2.0.7 requires php >=5.4.0 -> your PHP version 
(5.3.8) does not satisfy that requirement.
  Problem 11
- symfony/yaml v3.1.5 requires php >=5.5.9 -> your PHP version (5.3.8) does 
not satisfy that requirement.
- phpunit/phpunit 4.8.27 requires symfony/yaml ~2.1|~3.0 -> satisfiable by 
symfony/yaml[v3.1.5].
- Installation request for phpunit/phpunit 4.8.27 -> satisfiable by 
phpunit/phpunit[4.8.27].




-
AG-Carto - Bayonne
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-rest-setup-issue-with-Mpaguide-2-5-2-tp5294155.html
Sent from the MapGuide Users mailing list archive at Nabble.com.___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users