Toolserver:PHP

PHP scripts can be left running on the server using a screen session.

PHP scripts must be modified to run directly on the server: they cannot use $_POST or $_GET variables.

Debugging
To debug a PHP script which crashes (with a Segmentation Fault), type gdb php-cgi run myscript.php ... then wait for your script to run. When it crashes, type bt