-
Hi, I want to offload PHP to other PHP servers so I like to compile Nominatim without PHP installed. Is this possible ? Also I like to not download osm2pgsql when cloning, I want to have only Nominatim to be compiled. I assume that sharing the nominatim PHP files between my PHP backends and the Nominatim server(s) is enought to make this work ? Without having ngxin/apache local might be impossible ? I run into these:
and:
Hoping that someone can clear this out. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
converting the issue to a discussion |
Beta Was this translation helpful? Give feedback.
-
The cmake script defines various parameters to compile and install only parts of Nominatim:
You can use those to switch off building parts of Nominatim. If you want to run the API on a different machine, you could switch off everything except BUILD_API. With You can ignore the non-fatal warnings about pyosmium. |
Beta Was this translation helpful? Give feedback.
The cmake script defines various parameters to compile and install only parts of Nominatim:
You can use those to switch off building parts of Nominatim. If you want to run the API on a different machine, you could switch off everything except BUILD_API. With
-DBUILD_OSM2PGSQL=off
the osm2pgsql submodule is not necessary. (Word of warning: these switches are rarely used and not well tested, so you might stumble over some bug you might wan…