[GRASS-user] Can't create location

Markus Neteler neteler at itc.it
Thu Jul 6 08:36:07 EDT 2006


On Thu, Jul 06, 2006 at 04:14:40AM +0100, Glynn Clements wrote:
> Markus Neteler wrote:
...
> > In my PHP earthquake script must be a bug since
> > /tmp/grass6-apache-$$/
> > is generated...
> 
> Init.sh initialises GIS_LOCK from $$, which is the PID of the shell
> process running the script. That should work in any Bourne shell; it
> won't work in other languages, e.g. PHP. Presumably the PHP script is
> initialising the environment itself, and not using Init.sh?

That's correct. I would better use a PHP session somehow.

Page:
 http://grass.itc.it/spearfish/php_grass_earthquakes.php
Code:
 http://grass.itc.it/spearfish/php_grass_earthquakes.txt

Markus




More information about the grass-user mailing list