<div dir="ltr"><div style="font-size:12.8px">Hi everyone,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">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.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Currently I was using the following docker image for my tests, which was working fine as it is:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><a href="https://github.com/kartoza/docker-mapserver" target="_blank">https://github.com/kartoza/<wbr>docker-mapserver<br></a></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">However, to enable PHP MapScript I think I've had to add the following <span style="font-family:arial,helvetica,sans-serif">to the<a href="https://github.com/kartoza/docker-mapserver/blob/master/setup.sh" target="_blank">setup.sh</a> as a cmake option:</span><br></div><div style="font-size:12.8px"><br></div><blockquote style="font-size:12.8px;margin:0px 0px 0px 40px;border:none;padding:0px"><font face="monospace, monospace">-DWITH_PHP=1 </font></blockquote><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif"><br></font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif">This resulted in the following error during build:</font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif"><br></font></div><blockquote style="font-size:12.8px;margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace, monospace">CMake Error at mapscript/php/CMakeLists.txt:<wbr>31 (install):</font></div><div><font face="monospace, monospace">  install TARGETS given no LIBRARY DESTINATION for module target</font></div><div><font face="monospace, monospace">  "php_mapscript".</font></div></blockquote><div style="font-size:12.8px;font-family:monospace,monospace"><font face="monospace, monospace"><br></font></div><font face="arial, helvetica, sans-serif" style="font-size:12.8px">How should I pass the PHP5_EXTENSION_DIR to cmake?</font><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif"><br></font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Thanks in advance,</font></div><div style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Argyris</font></div></div>