X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/26ba5bf0be0a8b41b05a8dfc1774848841c83322..2daa4ed8135ef5688ba189e6727f686d24c17816:/docs/Installation.md diff --git a/docs/Installation.md b/docs/Installation.md index 678f0556..88f32ada 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -28,8 +28,7 @@ required for compiling osm2pgsql. For running tests: - * [lettuce](http://lettuce.it) - * [Shapely](http://toblerity.org/shapely/index.html) + * [behave](http://pythonhosted.org/behave/) * [Psycopg2](http://initd.org/psycopg) * [nose](https://nose.readthedocs.io) * [phpunit](https://phpunit.de) @@ -40,12 +39,13 @@ For running Nominatim: * [PostGIS](http://postgis.refractions.net) (2.0 or later) * [PHP](http://php.net) (5.4 or later) * PHP-pgsql + * PHP-intl (bundled with PHP) * [PEAR::DB](http://pear.php.net/package/DB) * a webserver (apache or nginx are recommended) For running continuous updates: - * [osmosis](http://wiki.openstreetmap.org/wiki/Osmosis) + * [pyosmium](http://osmcode.org/pyosmium/) ### Hardware @@ -104,6 +104,7 @@ directory and create an alias: Options FollowSymLinks MultiViews AddType text/html .php + DirectoryIndex search.php Require all granted Alias /nominatim /srv/nominatim/build/website @@ -134,13 +135,15 @@ follows: Tell nginx that php files are special and to fastcgi_pass to the php-fpm unix socket by adding the location definition to the default configuration. + root /srv/nominatim/build/website; + index search.php index.html; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; if (!-f $document_root$fastcgi_script_name) { return 404; } fastcgi_pass unix:/var/run/php5-fpm.sock; - fastcgi_index index.php; + fastcgi_index search.php; include fastcgi.conf; }