Commit 44f08996 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix php-cgi.sh for ArchLinux

parent 0a471f31
......@@ -6,7 +6,11 @@
# $Id: phpcgi.sh 1960 2004-11-01 16:52:30Z dionoea $
# It won't work if you call the PHP CLI usually in /usr/bin or /usr/local/bin
PHP=/usr/lib/cgi-bin/php
if [ -x /usr/lib/cgi-bin/php5 ]; then
PHP=/usr/lib/cgi-bin/php5
else
PHP=/usr/bin/php-cgi
fi
# CGI/1.1 interface variables
export SERVER_SOFTWARE="Shell CGI/0.1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment