Add support for debian 7

By default this script will not work with Debian 7, this is fixed by utilizing php-fpm's sock pass