331N/A#
331N/A# CDDL HEADER START
331N/A#
331N/A# The contents of this file are subject to the terms of the
331N/A# Common Development and Distribution License (the "License").
331N/A# You may not use this file except in compliance with the License.
331N/A#
331N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
331N/A# or http://www.opensolaris.org/os/licensing.
331N/A# See the License for the specific language governing permissions
331N/A# and limitations under the License.
331N/A#
331N/A# When distributing Covered Code, include this CDDL HEADER in each
331N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
331N/A# If applicable, add the following below this CDDL HEADER, with the
331N/A# fields enclosed by brackets "[]" replaced with your own identifying
331N/A# information: Portions Copyright [yyyy] [name of copyright owner]
331N/A#
331N/A# CDDL HEADER END
331N/A#
331N/A#
331N/A# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
331N/A#
331N/A
331N/A## for PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini
331N/A##
331N/A## In order to use PHP with Lighttpd you need to make sure that the
331N/A## appropriate PHP packages are installed and that the paths to the
331N/A## php-cgi binary and the php.ini file are correct. To facilite this
331N/A## the variable "php_bin-path" has been provided. Set this variable
331N/A## to the correct values for your setup.
331N/A##
331N/A## To use this file, add an include directive to the lighttpd.conf file, i.e:
331N/A## include "conf.d/fcgi-php.conf" (without the '##'))
331N/A
331N/Avar.php_bin-path = "/usr/php/bin/php-cgi"
331N/A
331N/Aglobal {
331N/A server.modules += ("mod_fastcgi")
331N/A}
331N/A
331N/Afastcgi.server = ( ".php" =>
331N/A ( "localhost" =>
331N/A (
331N/A "socket" => "/tmp/php-fastcgi.socket",
331N/A "bin-path" => php_bin-path
331N/A )
331N/A )
331N/A )
331N/A