diff options
author | Chris Kuethe <ckuethe@users.berlios.de> | 2010-04-08 20:00:40 -0700 |
---|---|---|
committer | Chris Kuethe <ckuethe@users.berlios.de> | 2010-04-08 20:00:40 -0700 |
commit | 5699e2dcdab3d7cfde50c67362e9659f2c7db616 (patch) | |
tree | 80a03cd3e890b6d28b861934b4fcf0ae05cac04e /gpsd.php | |
parent | e1b19e53b9e74bb3405bdfdad5b834c8e92873cf (diff) | |
download | gpsd-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.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |