Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mod-proxy-fcgi]

The tag has no usage guidance.

3
votes
1answer
83 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 ...
1
vote
1answer
105 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 ...
1
vote
1answer
64 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 ...
0
votes
0answers
110 views

smokeping, mod_proxy_fcgi and CentOS 7

Trying to configure smokeping on a CentOS 7 box that already uses httpd24 Apache web server. All the docs about smokeping say to use mod_fcgi, but my httpd24 setup doesn't have that mod anymore and ...
2
votes
0answers
405 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 ...
0
votes
0answers
504 views

Alias a FastCGI proxy protocol handler via Action/ScriptAlias/etc

So this is less about getting PHP to work, but more about mixing syntax constructs. Specifically I'm looking for a way to use a classy Action shorthand to bind PHP-FPM in different vhosts. All the ...
1
vote
2answers
3k 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 ...
0
votes
1answer
350 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 ...
4
votes
1answer
1k 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 <...
1
vote
1answer
352 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 ....
0
votes
1answer
446 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 ...
2
votes
0answers
5k 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 ...
2
votes
1answer
8k 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
0answers
310 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 ...
0
votes
2answers
2k 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 ...
4
votes
1answer
1k 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): &...
2
votes
3answers
627 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 ...
0
votes
0answers
82 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?
1
vote
1answer
765 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/...
4
votes
4answers
22k 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 ...
1
vote
2answers
8k 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
3answers
3k 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 ...
0
votes
0answers
446 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-...
3
votes
5answers
8k 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 ...
1
vote
2answers
915 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 ...
2
votes
2answers
13k 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 ...