uWSGI version =uwsgi_version()?>
worker id: =uwsgi_worker_id()?>
master pid: =uwsgi_masterpid()?>
uri: = $_SERVER['REQUEST_URI'] ?>
docroot: = $_SERVER['DOCUMENT_ROOT'] ?>
PATH_INFO: = $_SERVER['PATH_INFO'] ?>
uwsgi_signal(17) ?>
uwsgi_setprocname("test test test"); ?>
rpc result:
echo uwsgi_rpc("", "hello", "one", "two", "three"); ?>
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
echo uwsgi_cache_update('foobar', $_POST['cache_val']);
}
?>
cache value: = uwsgi_cache_get('foobar') ?>