[mapserver-dev] php-mapscript missing from Ubuntu 16.04 beta?

Daniel Morissette dmorissette at mapgears.com
Tue Apr 5 14:22:42 PDT 2016


Backwards compatibility is a big thing, and I think it would be worth 
trying to upgrade the existing code instead of forcing a switch to a 
completely new API based on SWIG on long time users. Does swig have 
proper PHP support these days anyway? And does it do PHP7 at all?

Note that the current module was in big part refactored by Alan a few 
years ago around the PHP5 API switch so it's not as if all the lines 
were exactly 15 years old.  :-)

More seriously, there is a migration guide here and it doesn't look that 
bad (easier said than done, I know):

https://wiki.php.net/phpng-upgrading

If only I could find a few hours to dive into this...

Daniel

On 2016-04-05 4:36 PM, thomas bonfort wrote:
> On our side, having to maintain only swig instead of swig + php makes
> enormous sense.
> However migrating php mapscript to swig is going to break 100% of
> backwards compatibility and all php code will have to be migrated to the
> new php+swig API. If we wanted to go down that road (which I think is a
> good idea) I think it is imperative that we also provide a wrapper from
> php_mapscript to mapscript+swig that we would immediately mark as
> deprecated unless there's a community incentive (and funding) to
> backport new features there.
>
> On 5 April 2016 at 19:20, Lime, Steve D (MNIT) <Steve.Lime at state.mn.us
> <mailto:Steve.Lime at state.mn.us>> wrote:
>
>     I  was wondering if this might be an excuse to move away from the
>     hand-rolled PHP/MapScript to Swig. It seems Swig is not yet
>     supporting PHP7 either, although it seems like they are working it.
>     If the PHP7 internals are really that different then we're looking
>     at a new MapScript module anyway. I'd think trying to maintain both
>     versions with that older codebase would be challenging to say the
>     least. Thoughts?
>
>     Steve
>
>     -----Original Message-----
>     From: mapserver-dev [mailto:mapserver-dev-bounces at lists.osgeo.org
>     <mailto:mapserver-dev-bounces at lists.osgeo.org>] On Behalf Of
>     Sebastiaan Couwenberg
>     Sent: Monday, April 04, 2016 2:49 PM
>     To: mapserver-dev at lists.osgeo.org <mailto:mapserver-dev at lists.osgeo.org>
>     Subject: Re: [mapserver-dev] php-mapscript missing from Ubuntu 16.04
>     beta?
>
>     On 04/04/2016 09:33 PM, Worth Lutz wrote:
>      > What is needed to get php-mapscript working on php7?
>
>     Team effort :-)
>
>     https://lists.osgeo.org/pipermail/mapserver-users/2016-February/078689.html
>
>     Kind Regards,
>
>     Bas
>
>     --
>       GPG Key ID: 4096R/6750F10AE88D4AF1
>     Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
>     _______________________________________________
>     mapserver-dev mailing list
>     mapserver-dev at lists.osgeo.org <mailto:mapserver-dev at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>     _______________________________________________
>     mapserver-dev mailing list
>     mapserver-dev at lists.osgeo.org <mailto:mapserver-dev at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
>
>
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>


-- 
Daniel Morissette
http://www.mapgears.com/
T: +1 418-696-5056 #201

http://evouala.com/ - Location Intelligence Made Easy


More information about the mapserver-dev mailing list