From 1a5ceec6d06a82c2db5648a06693438b47f0ca24 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 21 Oct 2021 14:42:25 +0200 Subject: [PATCH] mention php-symfony-dotenv under advanced installations --- docs/admin/Advanced-Installations.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/admin/Advanced-Installations.md b/docs/admin/Advanced-Installations.md index d5e6e889..9fc7911c 100644 --- a/docs/admin/Advanced-Installations.md +++ b/docs/admin/Advanced-Installations.md @@ -5,6 +5,7 @@ your Nominatim database. It is assumed that you have already successfully installed the Nominatim software itself, if not return to the [installation page](Installation.md). + ## Importing multiple regions To import multiple regions in your database, you need to configure and run `utils/import_multiple_regions.sh` file. This script will set up the update directory which has the following structure: @@ -27,6 +28,14 @@ update The `sequence.state` files will contain the sequence ID, which will be used by pyosmium to get updates. The tmp folder is used for import dump. +### Installing PHP prerequisites + +The scripts this section still use the old PHP utils. They require +the [Symphony dotenv](https://symfony.com/doc/4.1/components/dotenv.html) +parser to work. To install it on Ubuntu/Debian, run: + + sudo apt install php-symfony-dotenv + ### Configuring multiple regions The file `import_multiple_regions.sh` needs to be edited as per your requirement: