Topic: Unix Domain Sockets in apache with 2.4.10

Hi!

I see that you (Remi) mention Apache 2.4.9 in this blog post:
http://blog.famillecollet.com/post/2014 … mprovement

Is there an easy way to install/update to the latest version of Apache on RHEL7/CENTOS7 without having to compile from scratch. I have done that before, but it is difficult to keep Apache up to date . . . .

Thanks for input!

Wolf

Re: Unix Domain Sockets in apache with 2.4.10

Sorry, no.

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

Re: Unix Domain Sockets in apache with 2.4.10

I think UDS is interesting but not as much as SetHandler, which will very probably be backported by RH in 7.
See: https://bugzilla.redhat.com/show_bug.cgi?id=1136290

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

Re: Unix Domain Sockets in apache with 2.4.10

Okay, thanks!

So to use SetHandler in this way now, I need to compile Apache 2.4.10 with mod_proxy_fcgi support, as well as installing php-fpm via your repo?

Any gotchas when using a compiled version of apache with your php repos?

Thanks so much!

Wolf

Re: Unix Domain Sockets in apache with 2.4.10

Hi!

Is the SetHandler method:

"SetHandler  proxy:fcgi://127.0.0.1:9000"

back-ported to earlier versions of "Apache web server", e.g: RHEL 7 version 2.4.6-40
Seems like it earlier was only available in "Apache web server" 2.4.10 and later

Thanks! :-)

Wolf

See e.g: http://blog.famillecollet.com/post/2014 … mprovement

P.S. Tried to write "Apache h t t p d" instead of "Apache web server", but was not able to write it without spaces, got error: "Too more links in message. Allowed 1 links."

Re: Unix Domain Sockets in apache with 2.4.10

Yes, SetHandler to network Socket or UDS work with 2.4.6-40 (even the ProxyTimeout have been recently fixed, in latest update).

(fix for load balancer will come later)

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70