Skip to content
Permalink
Browse files
install PHPNG required file 'mapscript.php'
  • Loading branch information
github-actions[bot] committed Jun 28, 2020
1 parent 15cdb3a commit 610a8b6cbf2ad4c1fac12adb23287d24b2836970
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
@@ -84,4 +84,6 @@ set_target_properties(${SWIG_MODULE_mapscript_REAL_NAME} PROPERTIES PREFIX "")

if(NOT WIN32)
install(TARGETS php_mapscriptng DESTINATION ${PHP_EXTENSION_DIR})
# install the required file containing MapServer constants and functions
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/mapscript.php DESTINATION ${PHP_EXTENSION_DIR} COMPONENT dev)
endif()
@@ -1,3 +1,5 @@
%module mapscriptng;

%pragma(php) phpinfo="
php_info_print_table_start();
php_info_print_table_row(2, \"MapServer Version\", msGetVersion());

0 comments on commit 610a8b6

Please sign in to comment.