[mapserver-users] PHP MapScript Installation

thomas bonfort thomas.bonfort at gmail.com
Sat Aug 27 06:35:39 PDT 2016


you probably need to install the php-dev packages, and/or make sure
the php-config binary is accessible as that is the one providing the
extension dir location

--
thomas

On 26 August 2016 at 10:48, Argyris Margaritis <amargaritis at dotsoft.gr> wrote:
> Hi everyone,
>
> I'm trying to follow the installation steps for the PHP version of
> MapScript, however I'm a bit confused as many of the guides date back to
> php3.
>
> Currently I was using the following docker image for my tests, which was
> working fine as it is:
>
> https://github.com/kartoza/docker-mapserver
>
> However, to enable PHP MapScript I think I've had to add the following to
> thesetup.sh as a cmake option:
>
> -DWITH_PHP=1
>
>
> This resulted in the following error during build:
>
> CMake Error at mapscript/php/CMakeLists.txt:31 (install):
>   install TARGETS given no LIBRARY DESTINATION for module target
>   "php_mapscript".
>
>
> How should I pass the PHP5_EXTENSION_DIR to cmake?
>
> Thanks in advance,
> Argyris
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list