Tag Info

Hot answers tagged


First of all, You need to add a new environment variable called PGPASSWORD $ export PGPASSWORD='password' But, if you try to set as usual, the www-data doesn't see the variable, so you need to add the line PGPASSWORD='password' to the /etc/apache2/envvar. Test if this works typing: sudo -u www-data bash -c "<the_command_shp2pgsql>" Then ...

Only top voted, non community-wiki answers of a minimum length are eligible