Questions tagged [mod-proxy-fcgi]

27 questions
7
votes
3 answers

proxy_fcgi:error (70008)Partial results are valid but processing is incomplete. AH01075

I have a server running with: Ubuntu 16.04 Apache 2.4.18 WORKER-MPM PHP 7.0.8-0ubuntu0.16.04.3 PHP-FPM OPcache 7.0.8-0ubuntu0.16.04.3 On the browser there is an ajax script that each 5 sec sends a query to a php file to update a timestamp on the…
Cristian Sepulveda
  • 171
  • 1
  • 1
  • 6
5
votes
1 answer

Apache PHP-FPM weird responses with Proxy enablereuse=on

When enabling I start receiving strange responses. When refreshing the current page, the main request loads different responses; like a blank page, responses intended for a separate client, or a 404 response from a…
Will B.
  • 73
  • 8
4
votes
0 answers

Shared hosting: Apache RewriteRule [P] flag security concern

I want to setup PHP-FPM with Apache in a shared hosting environment. The recommended way is to use mod_proxy_fcgi. Each customer has his own FPM pool, running PHP processes under his own system user. That provides good isolation. Let's assume that…
4
votes
0 answers

Apache 2.4 + PHP-FPM + Chromelogger (how to increase HTTP header length limit?)

I have a running Apache 2.4 + PHP-FPM setup. There is one edge case though, when this setup fails - when using Chromelogger. Chromelogger is a server to client debugging tool, which sends it's data through a HTTP header to a browser. The header's…
mgo
  • 141
  • 3
4
votes
1 answer

Passing Apache variable into SetHandler directive

I'm trying to have dynamically determined Unix socket used for different separated PHP "apps" (different sockets lead to different PHP-FPM pools) on my Apache (2.4.18) server (using mod_proxy_fcgi):
Smuuf
  • 146
  • 7
4
votes
4 answers

How can I fix recurring PHP 503 Errors on my Apache-mod_proxy_fcgi-PHP-FPM Server?

i'm having trouble with my php-fpm setup. Maybe you guys can point me in the right direction. First off, everything is working fine. But every now and then, I'll get 503 Errors. Those errors are gone once I reload the website. They only ever appear…
Riemu
  • 103
  • 2
  • 2
  • 7
4
votes
2 answers

Using ProxyPassMatch for FastCGI, results in connection refused on port 9000

I'm not certain if this is a php, apache, or iptables configuration issue but I receive the following error when trying to access a .php file. Please let me know if you need more information to help me diagnose, I'm at a loss for what to check…
Chris Rockwell
  • 143
  • 1
  • 1
  • 4
3
votes
1 answer

Rewriting URLs while using mod_proxy_fcgi and PATH_INFO ends up with error 404

I have a virtual host on Apache 2.4.25 with PHP-FPM 7.1.4 connected via mod_proxy_fcgi as follows: ServerName example.com DocumentRoot /srv/www/example.com AllowOverride All …
Disassembler
  • 246
  • 2
  • 7
3
votes
5 answers

apache 2.4, mod_proxy_fcgi not honouring .htaccess, work around needed

I am using apache 2.4.7 with mod_proxy_fcgi for purpose of passing through php to php-fpm (this will be used for shared hosting environment). The htaccess works fine for non php files, but once it hit rewrite rule that proxies through the php…
user229874
  • 29
  • 1
  • 5
2
votes
1 answer

Apache and PHP-FPM security with mod_proxy_fcgi

I use PHP-FPM in a shared hosting configuration. Each FPM pool runs as a different user. Apache runs as www-data. Apache connects via a socket using mod_proxy_fcgi. I allow users to use .htaccess files. How do I prevent a user from connecting to the…
2
votes
1 answer

basic authentication failing with mod-proxy-fcgi and php7.0-fpm

Ubuntu 16.04 LTS running on AWS instance. Apache 2.4.18 / PHP7.0-fpm Problem is with basic-auth. I'm trying to pw-protect /var/www/html/admin//. I find that all non-php files are protected - but .php files seem to go straight to proxy without…
2
votes
2 answers

authz_core keeps denying access

I've configured a webserver more or less according to this tutorial (https://wiki.apache.org/httpd/PHP-FPM) and I can't get PHP to work. HTML-files are served fine. I get the following error message: mod_authz_core.c(802): [client :36570]…
Stephan Klein
  • 23
  • 1
  • 1
  • 4
2
votes
0 answers

php-fpm chroot setup with apache mod_proxy_fcgi

i'm looking for recent instructions on how to set up apache with mod_proxy_fcgi and chrooted php-fpm. i was successful for the whole process except for the chroot part. i'm trying to use the most advanced setup, to me this is the "Proxy via Handler"…
mathrock74
  • 21
  • 2
2
votes
2 answers

Setting php_value in VirtualHost on Debian Squeeze Apache 2.4.10 + mod_proxy_fcgi + php-fpm?

After updating our server to Debian Jessie (8.3), I switched Apache 2.4.10 from mpm_worker/mod_php to mpm_event/proxy_fcgi/php-fpm. I have the handoff configured for all virtual hosts as such: # cat conf-enabled/php5-fpm.conf
jaydisc
  • 459
  • 1
  • 7
  • 19
2
votes
3 answers

Apache exit signal Segmentation fault when mod_rewrite and fcgi are used together

I am using Ubuntu 15.04, Apache/2.4.10. I enabled mod_rewrite and mod_proxy_fcgi. My apache config for fcgi is: ProxyPassMatch ^/(.+\.(hh|php)(/.*)?)$ fcgi://127.0.0.1:9000/var/www/html/myapp/$1 When I request http://127.0.0.1/index.php it works…
1
2