summaryrefslogtreecommitdiff
path: root/gpsd.php
diff options
context:
space:
mode:
authorChris Kuethe <ckuethe@users.berlios.de>2010-04-08 20:00:40 -0700
committerChris Kuethe <ckuethe@users.berlios.de>2010-04-08 20:00:40 -0700
commit5699e2dcdab3d7cfde50c67362e9659f2c7db616 (patch)
tree80a03cd3e890b6d28b861934b4fcf0ae05cac04e /gpsd.php
parente1b19e53b9e74bb3405bdfdad5b834c8e92873cf (diff)
downloadgpsd-5699e2dcdab3d7cfde50c67362e9659f2c7db616.tar.gz
Add a note about making gpsd.php work with Suhosin
Signed-off-by: Chris Kuethe <ckuethe@users.berlios.de>
Diffstat (limited to 'gpsd.php')
-rw-r--r--gpsd.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/gpsd.php b/gpsd.php
index 4a32c439..e6944054 100644
--- a/gpsd.php
+++ b/gpsd.php
@@ -20,6 +20,12 @@ global $head, $blurb, $title, $googlemap, $autorefresh, $footer, $gmap_key;
global $GPS, $server, $advertise, $port, $magic, $swap_ew, $magic;
$magic = 1; # leave this set to 1
+# If you're running PHP with the Suhosin patch (like the Debian PHP5 package),
+# it may be necessary to increase the value of the
+# suhosin.get.max_value_length parameter to 2048. The imgdata parameter used
+# for displaying the skyview is longer than the default 512 allowed by Suhosin.
+# Debian has the config file at /etc/php5/conf.d/suhosin.ini.
+
# this script shouldn't take more than a few seconds to run
set_time_limit(3);
ini_set('max_execution_time', 3);