[mapserver-users] Mapserver 8, PHP 8 and Mapscript
Sven Schroeter
schroeter at netgis.de
Fri Jul 22 03:12:25 PDT 2022
Hi Jeff,
thanks, I have a problem when using -DWITH_PHPNG=ON \
Is that SWIG still expects PHP 7 and therefore errors occur during make
[ 99%] Swig compile ../mapscript.i for php7
[ 99%] Built target php_mapscriptng_swig_compilation
Scanning dependencies of target php_mapscriptng
[ 99%] Building C object
mapscript/phpng/CMakeFiles/php_mapscriptng.dir/CMakeFiles/php_mapscriptng.dir/mapscriptPHP7_wrap.c.o
/root/mapserver-8.0.0-beta1/build/mapscript/phpng/CMakeFiles/php_mapscriptng.dir/mapscriptPHP7_wrap.c:755:3:
error: #error These bindings need PHP7 - to generate PHP5 bindings use:
SWIG < 4.0.0 and swig -php5
755 | # error These bindings need PHP7 - to generate PHP5 bindings use:
SWIG < 4.0.0 and swig -php5
...
any idea?
thanks
Sven
Am 21.07.2022 um 15:12 schrieb Jeff McKenna:
> I should also add here, as you mention PHP 8: I did much effort
> recently to upgrade the continuous build systems (TravisCI, GitHub
> action) so that various PHP versions are now tested for PHPNG
> MapScript, including PHP 8.1.x, and re-enabled PHPUnit tests that test
> each MapScript object, every time a pull request or commit is made to
> the project repository. (you can find those tests inside
> /msautotest/php/ and follow the README there)
>
> More tests are warmly welcomed of course! :)
>
> Thanks,
>
> -jeff
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220722/58fff4eb/attachment.htm>
More information about the MapServer-users
mailing list