In order to install POPP, the following packages must be installed :
- PostgreSQL >= 9.1
- PostGIS >= 1.5
- PHP >= 5.4.4
- Apache >= 2.2
To begin, create a PostgreSQL database, and set its encoding set to UTF-8.
Execute the followings commands in postgres command line :
- psql -d [DATABASE_NAME] -f /usr/share/postgresql/[POSTGRES_VERSION]/contrib/postgis-[POSTGIS_VERSION]/postgis.sql
- psql -d [DATABASE_NAME] -f /usr/share/postgresql/[POSTGRES_VERSION]/contrib/postgis-[POSTGIS_VERSION]/spatial_ref_sys.sql
- psql -d [DATABASE_NAME] -f /usr/share/postgresql/[POSTGRES_VERSION]/contrib/postgis-[POSTGIS_VERSION]/postgis_comments.sql
Please note that folder names may slightly vary depending on your PostgreSQL/Postgis version.
Unzip master to your web directory, and proceed to Drupal installation, using your brand new PostgreSQL database.
When it's done, click on "Modules" item onto top menu, and just activate "Popp Install" module.
Go now to front page. You will see some changes, and a popup inviting you to click on a link to finish installation.
Just let the wizard do some magic.
I've got a blank page while installing POPP / an error message telling "Maximum execution time of XX seconds exceeded"
Since some installation treatments can be long, you shall increase your max_execution_time in php.ini
Make sure you have correctly executed PostGIS procedures (see Database). If not, you can do it without starting over.
Make sure .htaccess files (stored at /.htaccess, /sites/ and /sites/default/files/ folders) doesn't conflicts with your Apache configuration (ie. Options +FollowSymLinks, Options None ...)