Re: php-fpm on centos 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Sorry let me fix this. 7am is clearly too early for brain function :(
Just ignore my last mess email

> On 23 Aug 2014, at 06:59, Jason Woods <devel@xxxxxxxxxxxxxxxx> wrote:
> mod_proxy_fcgi is also very much dead. Not updated since 2006.
> 
> When using php-fpm you do not need any of the above modules as the above modules are fpms that interact with cgi processes having fastcgi support (such as php-cgi).

mod_fastcgi is gone. That's now fcgid.

mod_proxy_fcgi is not dead. It's too new for centos 6 though.

It needs apache 2.4 and centos has lower (2.2?) I think.
Thus you'd need to build apache yourself or find packages in rpm forge or something as it requires apache 2.4 and this module for proxy to fcgi.

You can see the module doesn't exist for 2.2 here:
http://httpd.apache.org/docs/2.2/mod/
But does for 2.4:
http://httpd.apache.org/docs/2.4/mod/

To summarise, what you want to do will need apache 2.4. Or just use the old school php-cgi and mod_fcgid.

Other option is nginx and fastcgi_pass. Benefit here is you can use unix socket if php-fpm is local to drop the TCP overhead

> For simple servers like pure PHP you may benefit greatly speed wise from Nginx, and support from PHP software (WordPress / Drupal etc) is now very wide. For huge feature sets, modules, and variety, Apache though.

Sorry for confusion. No more emails this early. Coffee first.

Jason
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux