Advertising
advertising
related pastes to tag 'varnish'
- 1967836 - Build Varnish on OSX Snow Leopar: leopard x osx guide os mac snow howto varnish
-
- ## Install prerequisites to build Varnish and configure system path
- sudo port install automake libtool pkgconfig pcre
- export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
- ## Make sure ~/src exists and then downloads and extracts Varnish there (change as required)
- mkdir -p ~/src && cd ~/src
- wget "http://downloads.sourceforge.net/project/varnish/varnish/2.1.3/varnish-2.1.3.tar.gz"
- tar xvzf varnish-2.1.3.tar.gz && cd varnish-2.1.3
- 1268381 - PHP Varnish Stats Generator: php socket varnish varnishd
-
- <?php
- // This is just a code snippet written by Jason "Foxdie" Gaunt, its not meant to be executed, it may work as-is, it may not.
- // I freely acknowledge this code is unoptimised but it has worked in practice for 6 months :)
- // Lets define our connection details
- $adminHost = "127.0.0.1"; // IP address to connect to
- $adminPort = "2400"; // Port to connect to