Apache 2.4.7 and php-fpm and roundcube/phpmyadmin problem

Magician

Verified User
Joined
Jan 31, 2010
Messages
135
Location
EU / PL
Hi,
CB2, 2 php, both as php-fpm, after update apache to 2.4.7, when try roundcube I got:
Code:
Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /roundcube/index.php.

Reason: DNS lookup failure for: socket=%2fusr%2flocal%2fphp54%2fsockets%2fwebapps.sock

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Code:
root@server:/etc/httpd/conf/extra# httpd -V
Server version: Apache/2.4.7 (Unix)
Server built:   Nov 27 2013 04:35:28
Server's Module Magic Number: 20120211:27
Server loaded:  APR 1.5.0, APR-UTIL 1.5.3
Compiled using: APR 1.5.0, APR-UTIL 1.5.3
Architecture:   64-bit
Server MPM:     event
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="/var/logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

How to fix it or how to reinstall apache 2.4.6 to avoid this error?

---
To reinstall apache 2.4.6 just change version number in versions.txt and ./build apache... Seems dirty way - but works. Of course this is not solutions for apache 2.4.7 php-fpm socket problem...
 
Last edited:
to reinstall Apache 2.4.6. Just edit versions.txt as below :

From

Code:
apache2.4:2.4.7:9272aadaa2d702f6ae5758641d830d7f

To

Code:
apache2.4:2.4.6:

Then, run ./build apache

That's what I did to make it work for now. Still do not know how to fix it.
 
I have the same problem. Are we a minority?

I have not enough experience with php-fpm to look into this issue, so I hope someone else finds a solution.

regards,
Stijn
 
When updating apache a patch is done to mod_proxy (and since it is a proxy error...), maybe the bug lies within that. During install of apache 2.4.7 one patch fails:
Code:
Patching apache to support sockets in fcgid proxy...
patching file modules/proxy/mod_proxy.h
Hunk #1 succeeded at 236 (offset 4 lines).
Hunk #2 succeeded at 308 (offset 4 lines).
patching file modules/proxy/proxy_util.c
Hunk #2 succeeded at 2028 (offset 7 lines).
Hunk #3 succeeded at 2045 (offset 7 lines).
Hunk #4 FAILED at 2156.
Hunk #5 succeeded at 2403 (offset 19 lines).
Hunk #6 succeeded at 2471 (offset 19 lines).
Hunk #7 succeeded at 2607 (offset 19 lines).
1 out of 7 hunks FAILED -- saving rejects to file modules/proxy/proxy_util.c.rej

This error with patching does not appear when you build apache 2.4.6.
 
Back
Top