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 <amargari...@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@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users