installed libapache2-mod_fastcgi on debian 7 - no php5-fcgi file

Posted by ggstevens on Server Fault See other posts from Server Fault or by ggstevens
Published on 2014-05-30T21:23:25Z Indexed on 2014/05/30 21:31 UTC
Read the original article Hit count: 294

Filed under:
|

So I install Apache2 worker with libapache2-mod-fastcgi (non-free) on my Debian server.

I found this snippet from the web, however, I don't have anything in my /usr/lib/cgi-bin/ folder. So how is my php working when I view phpinfo() ???

<IfModule mod_fastcgi.c>
AddHandler php5-fcgi .php
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket /var/run/php5-fpm.sock -pass-header Authorization
</IfModule>

© Server Fault or respective owner

Related posts about php5

Related posts about mod-fastcgi