mostly remove php-cgi requirement

This is now only needed for BDD tests against the php API.
This commit is contained in:
Sarah Hoffmann
2023-07-26 00:10:11 +02:00
parent f69fea4210
commit d545c6d73c
11 changed files with 3 additions and 22 deletions

View File

@@ -92,16 +92,6 @@ if (BUILD_API OR BUILD_IMPORTER)
else()
message (STATUS "Using PHP binary " ${PHP_BIN})
endif()
if (NOT PHPCGI_BIN)
find_program (PHPCGI_BIN php-cgi)
endif()
# sanity check if PHP binary exists
if (NOT EXISTS ${PHPCGI_BIN})
message(WARNING "php-cgi binary not found. nominatim tool will not provide query functions.")
set (PHPCGI_BIN "")
else()
message (STATUS "Using php-cgi binary " ${PHPCGI_BIN})
endif()
endif()
#-----------------------------------------------------------------------------