]>
Commit | Line | Data |
---|---|---|
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 | |
8 | Allow from all | |
9 | </Location> | |
10 | ||
11 | Action application/x-httpd-php-fcgi /php-fcgi | |
12 | </IfModule> | |
13 | ||
14 | # To register handler for .php in your config context: | |
15 | #<IfModule mod_fastcgi.c> | |
16 | # AddType application/x-httpd-php-fcgi .php | |
17 | #</IfModule> |