From: Edward Z. Yang Date: Thu, 19 Feb 2009 22:51:30 +0000 (-0500) Subject: Add phpv-cgi script. X-Git-Url: https://repo.or.cz/w/phpv.git/commitdiff_plain/97d4fde8648cc500e884f89683b46a327a25e062 Add phpv-cgi script. Signed-off-by: Edward Z. Yang --- diff --git a/bin/phpv-cgi b/bin/phpv-cgi new file mode 100755 index 0000000..fdb7a11 --- /dev/null +++ b/bin/phpv-cgi @@ -0,0 +1,9 @@ +#!/bin/bash +VERSION="$1" +if [ "$VERSION" = "" ] +then + echo "Usage: phpv-cgi version ..." + exit +fi +shift 1 +"/home/ezyang/Dev/php/versions/$VERSION/bin/php-cgi" $@