greyhound.php
changeset 13 b5db2345c397
parent 12 b3fcc21e557f
child 15 2adca0f363fd
--- a/greyhound.php	Wed Mar 26 10:24:20 2008 -0400
+++ b/greyhound.php	Wed Mar 26 11:10:20 2008 -0400
@@ -85,6 +85,11 @@
 try
 {
   status('starting PhpHttpd');
+  status('doing PHP capabilities check');
+  if ( !function_exists('pcntl_signal') )
+  {
+    warning('System does not support POSIX functions. Termination signals will result in unclean shutdown.');
+  }
   $httpd = new WebServer($ip, $port);
   
   // setup handlers