Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PHP7.x support #5461

Closed
wants to merge 5 commits into from
Closed

Add PHP7.x support #5461

wants to merge 5 commits into from

Conversation

bjoernboldt
Copy link
Contributor

I added some macros and made some changes to the structs in php_mapcript.h for PHP7. So the code is now compatible with PHP5.x and PHP7.x.

@bjoernboldt bjoernboldt mentioned this pull request Jul 10, 2017
@sdlime sdlime requested a review from jmckenna July 10, 2017 18:59
@sdlime
Copy link
Member

sdlime commented Jul 10, 2017

So this gives us PHP7 support 2 ways - via php_mapscript and Swig? --Steve

@nboisteault
Copy link

Thank you very much! Will it land in mapserver 7.0 soon?

@sdlime
Copy link
Member

sdlime commented Aug 8, 2017

I don't know quite yet. Assuming it works - I'm not a PHP user and so not in a position to test - I don't know why not. This probably needs to be taken to the mapserver-dev list for discussion. Might be good if you brought it up? There is also SWIG-based PHP 7.0 effort... --Steve

Mapserver crashes in msQueryByFilter() if an error occurs (e.g. filteritem name is not a column name of the shape). We have to restore lp->filteritem and lp->filter. Why was this commented out?
Fixing error "undefined symbol: mapscript_create_legend" in PHP7
@stoecker
Copy link

stoecker commented Jun 7, 2018

CMake says "-- Found PHP5-Version 7.2.5 (using /usr/bin/php-config)". Text should be adapted ;-)

@geographika
Copy link
Member

PHP-NG support added with #5675

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants