]> git.pld-linux.org Git - packages/apache-php-fcgi.git/blame - apache.conf
requires mod_actions
[packages/apache-php-fcgi.git] / apache.conf
CommitLineData
52ab9b62
ER
1# setup via fastcgi to run php5
2<IfModule mod_fastcgi.c>
3 # the server name is bogus actually, to satisfy mod_fastcgi
4 FastCgiExternalServer /usr/bin/php56.fcgi -socket /var/run/php/fcgi.sock -idle-timeout 120
5 ScriptAlias /php-fcgi /usr/bin/php56.fcgi
6 <Location "/php-fcgi">
7 SetHandler fastcgi-script
df585f07
ER
8 # Apache 2.x
9 <IfModule !mod_authz_core.c>
10 Order allow,deny
11 Allow from all
12 </IfModule>
13 # Apache 2.4
14 <IfModule mod_authz_core.c>
15 Require all granted
16 </IfModule>
52ab9b62
ER
17 </Location>
18
19 Action application/x-httpd-php-fcgi /php-fcgi
20</IfModule>
21
22# To register handler for .php in your config context:
23#<IfModule mod_fastcgi.c>
24# AddType application/x-httpd-php-fcgi .php
25#</IfModule>
This page took 0.093025 seconds and 4 git commands to generate.