Questions tagged [mod-proxy-fcgi]
The mod-proxy-fcgi tag has no usage guidance.
28
questions
7
votes
3
answers
32k
views
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 ...
6
votes
1
answer
3k
views
Apache PHP-FPM weird responses with Proxy enablereuse=on
When enabling <Proxy ... enablereuse=on max=10> I start receiving strange responses. When refreshing the current page, the main request loads different responses; like a blank page, responses ...
4
votes
2
answers
25k
views
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 ...
4
votes
6
answers
38k
views
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 ...
4
votes
1
answer
3k
views
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):
&...
4
votes
0
answers
590
views
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. ...
4
votes
0
answers
2k
views
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 ...
3
votes
1
answer
4k
views
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:
<VirtualHost *:80>
ServerName example.com
DocumentRoot /srv/www/example.com
<...
3
votes
5
answers
10k
views
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 ...
2
votes
2
answers
7k
views
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 ...
2
votes
2
answers
26k
views
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:
...
2
votes
1
answer
3k
views
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 ...
2
votes
1
answer
1k
views
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 ....
2
votes
0
answers
449
views
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 ...
2
votes
3
answers
3k
views
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
...
1
vote
2
answers
11k
views
apache 2.4 + php-fpm + mod_proxy_fcgi + alias
I have the following config:
Apache 2.4, php-fpm, mod_proxy_fgci.
The problem is that my config is not working with the alias directive:
I've installed phpredmin, but the alias directive is not ...
1
vote
3
answers
5k
views
How to get mod_proxy_fcgi on CentOS/Red Hat 6 with Apache 2.2?
I am trying to get Apache 2.2 + php-fpm to work on CentOS 6.5 (and Red Hat later). I want to use mod_proxy_fcgi to do this, but I can't find a proper way to get it.
I tried looking for repository ...
1
vote
2
answers
4k
views
Debian 9 Stretch LAMP Setup With Sandboxed Users using FPM
I'm trying to set up Apache and FPM on Debian 9 the way we had previously done with Debian 7 and 8. Due to, I believe, the deprecation of mod_fastcgi in favor of mod_proxy_fcgi in Apache 2.4 and the ...
1
vote
2
answers
1k
views
PHP-FPM and ProxyPass disables the possibility to use FilesMatch?
i'm using PHP-FPM and mod_proxy_fcgi for serving PHP files. The system is blazing fast and works flawlessly except i'm not able to use the FilesMatch directive in Apache. Well that makes sense because ...
1
vote
0
answers
365
views
What causes "Partial results are valid but processing is incomplete" for mod_fcgi in Apache WITHOUT mod_reqtimeout
I am running Apache 2.4 to serve Nextcloud and I occasionally get the error
[proxy_fcgi:error] cloud.my-domain.tld: (70008)Partial results are valid but processing is incomplete: AH01075: Error ...
1
vote
1
answer
736
views
Apache2 proxy fastcgi conditional rewrite with proxy pass match and cookie
I currently have two projects:
/home/piotrek/Vhosts/sf.local/web/app_dev.php
/home/piotrek/Vhosts/sf2.local/web/app_dev.php
Both have same repo but are set to two different branches.
I have vhost ...
1
vote
1
answer
1k
views
Permissions issue: why is user nobody needed in my second php-fpm pool?
I am running FreeBSD 10.2 with a custom-compiled Apache 2.4.17 with php-fpm. The default pool ([www], almost a stock php-fpm setup) ran on user/group nobody/nobody. Apache runs on user/group daemon/...
0
votes
0
answers
260
views
brotli on apache with proxy_fcgi for PHP-FPM is not used
I'm running an apache 2.4.54 with broti enabled.
brotli configuration as seen below and loaded before default deflate configuration.
$ cat /etc/apache2/mods-available/brotli.conf
<IfModule ...
0
votes
2
answers
14k
views
Getting 503 with apache proxy_fcgi_module [SOLVED]
I'm using CentOS 9 Stream on a VM, trying to setup my apache server to be able to show php content on the web. The server works fine when its just html, but I'm getting these errors (503 in the ...
0
votes
1
answer
1k
views
PHP is not being executed by proxy_fcgi and php_fpm on Zabbix frontend
I have installed php7.0-fpm and enabled proxy_fcgi mod for Zabbix frontend.
However when I try to get access from any page I get PHP source code of that page instead of normal page.
My configs are ...
0
votes
1
answer
957
views
Apache mod_proxy_fcgi: One proxy worker per vhost?
I've been setting up a server using Apache 2.4, mpm_event, mod_proxy_fcgi and php_fpm.
In the mod_proxy_fcgi docs (https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html) it mentions "For ...
0
votes
0
answers
131
views
mod_proxy_fcgi missing [Centos6]
I comiled apache and php from source but now mod_proxy_fcgi missing here:
/usr/local/apache2/modules/ any solution for this?
0
votes
0
answers
534
views
Debian's apache configuration. fcgid or proxy fastcgi + php fpm
I'm trying to figure out, what would be better solution. I have a server with arout 10 vhosts. Now, its configured like in this tutorial: http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-...