<div dir="ltr">Dears<div>after successully compilation of mapserver 7.4.3 on centos 8,</div><div>I'm not able to load
php_mapscript on PHP environment, (nothing related to mapscript is displayed on phpinfo();</div><div><br></div><div>some info:</div><div>cmake -DCMAKE_PREFIX_PATH="/usr/geos38;/usr/proj63;/usr/gdal30;/usr/pgsql-12;/usr/local" -DWITH_PHPNG=ON -DWITH_CLIENT_WFS=ON -DWITH_CLIENT_WMS=ON -DWITH_CURL=ON -DWITH_SVGCAIRO=OFF -DWITH_PROTOBUFC=OFF -DWITH_CAIRO=OFF -DWITH_FRIBIDI=ON -DWITH_HARFBUZZ=ON -DWITH_GEOS=ON ../<br></div><div>-- /usr/include/php/main<br>-- Found PHP-Version 7.2.11 (using /usr/bin/php-config)<br>-- Found SWIG: /usr/local/bin/swig (found version "4.0.1")<br>-- /usr/include/php/main<br>-- Found PHP-Version 7.2.11 (using /usr/bin/php-config)<br>-- PHP Include Path: /usr/include/php;/usr/local/include/php;/usr/include/php;/usr/local/include/php;/usr/local/apache/php;/usr/include/php/Zend;/usr/include/php/main;/usr/include/php/TSRM;INTERNAL;PHP include paths<br>-- * Summary of configured options for this build<br>-- * Mandatory components<br>-- * png: /usr/lib64/libpng.so<br>-- * jpeg: /usr/lib64/libjpeg.so<br>-- * freetype: /usr/lib64/libfreetype.so<br>-- * Optional components<br>-- * GDAL: /usr/gdal30/lib/libgdal.so<br>-- * OGR: /usr/gdal30/lib/libgdal.so<br>-- * GIF: /usr/lib64/libgif.so<br>-- * MYSQL: disabled<br>-- * FRIBIDI: /usr/lib64/libfribidi.so<br>-- * HARFBUZZ: /usr/lib64/libharfbuzz.so<br>-- * GIF: /usr/lib64/libgif.so<br>-- * CAIRO: disabled<br>-- * SVGCAIRO: disabled<br>-- * RSVG: disabled<br>-- * CURL: /usr/lib64/libcurl.so<br>-- * PROJ: /usr/proj63/lib/libproj.so<br>-- * PIXMAN: disabled<br>-- * LIBXML2: /usr/lib64/libxml2.so<br>-- * POSTGIS: /usr/pgsql-12/lib/libpq.so<br>-- * GEOS: /usr/geos38/lib64/libgeos_c.so<br>-- * FastCGI: /usr/lib64/libfcgi.so<br>-- * PROTOBUFC: disabled<br>-- * Oracle Spatial: disabled<br>-- * Exempi XMP: disabled<br>-- * Optional features<br>-- * WMS SERVER: ENABLED<br>-- * WFS SERVER: ENABLED<br>-- * WCS SERVER: ENABLED<br>-- * SOS SERVER: disabled<br>-- * WMS CLIENT: ENABLED<br>-- * WFS CLIENT: ENABLED<br>-- * ICONV: ENABLED<br>-- * Thread-safety support: disabled<br>-- * KML output: disabled<br>-- * Z+M point coordinate support: disabled<br>-- * XML Mapfile support: disabled<br>-- * Mapscripts<br>-- * Python: disabled<br>-- * PHP: ENABLED<br>-- * PHPNG: ENABLED<br>-- * PERL: disabled<br>-- * RUBY: disabled<br>-- * JAVA: disabled<br>-- * C#: disabled<br>-- * V8 Javascript: disabled<br>-- * Apache Module (Experimental): disabled<br>--<br>-- Will install files to /usr/local<br>-- Will install libraries to /usr/local/lib<br>-- Configuring done<br>-- Generating done<br></div><div><br></div><div><br></div><div>after make; make install </div><div>I can check:</div><div># mapserv -v<br>MapServer version 7.4.3 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<br></div><div><br></div><div>lib is in the right place:</div><div>/usr/lib64/php/modules/php_mapscript.so<br></div><div>and extension is configured:</div><div>/etc/php.d/30-php_mapscript.ini<br>; Enable mapserver extension module<br>extension=php_mapscript<br></div><div><br></div><div><br></div><div>Do you have any idea how to check if the module is loaded?</div><div><br></div><div>Regards,</div></div>