Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Me and my collegue are using the shp2pgsql and psql commands in php code (a Drupal module to be precise).

We put these commands in a php variable and use the exec() command to execute them. This works very well but now we have to use these operations on an external server which doesn't support the exec() command.

Is there any workaround or solution for this matter?

Thanks in advance.

share|improve this question
the server can not execute anything at all? You'll have to ask the administrator then to add that program to the server – nickves Apr 11 '13 at 8:59

1 Answer 1

I'm unsure but is this a possibility to allow the exec shp2pgsql and exec psql commands only, based on who is logged in?

Any one has experience on this? Thank you.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.