2,043 questions
0 votes
1 answer
30 views
Impact of PHP_FCGI_MAX_REQUESTS with lighttpd 1.4.80 and php-cgi
I’m running lighttpd 1.4.80 with PHP via FastCGI (php-cgi, not php-fpm). The page Optimizing FastCGI performance says: there is a potential race condition during the PHP cleanup code in which PHP can ...
3 votes
1 answer
85 views
Cannot get gettext to work in php:fpm-8.2 Docker Container
I've checked on the questions regarding this issue, they did not help (see what I tried below). I setup a multi-container app on docker with a httpd:2.4 (apache) container acting as reverse-proxy ...
0 votes
0 answers
58 views
trying to rewrite lua-resty-fastcgi but it fails to connects
I am trying to rewrite FastCGI extension which was written for Lua Resty module of NGINX by benagricola, but it keeps on failing to connect to any PHP-FastCGI server (throws fastCGI : recv header ...
0 votes
2 answers
101 views
Cannot get Lighttpd connecting with a Gunicorn backend server
I'm following this (very good) tutorial on how to serve a Flask app over hte intenet. I now have everything working well using Nginx - but I want to use Lighttpd with Fastcgi as that is my main web ...
0 votes
1 answer
100 views
nginx - php-fpm - azure container app returns truncated pages [closed]
I'm having a problem where the response I get from nginx is truncated, meaning that the source returned just ends part way through. If I run the nginx container locally everything works, the problem ...
1 vote
0 answers
110 views
How can I work out why PHP FCGI is crashing?
A server of mine sits and resizes images for a living. It can live for days, weeks, or sometimes longer - but always eventually just mysteriously stops working, and all PHP scripts on the box are ...
1 vote
1 answer
282 views
A problem with curl parsing during an attack on php-fpm on an intranet using SSRF+gopher protocols
I built a server in docker using nginx+php-fpm (nginx/1.18.0, PHP 8.2.3 (fpm-fcgi), Zend Engine v4.2.3) and ran a web page ssrf.php with ssrf vulnerability, where the part of the code that has the ...
0 votes
1 answer
82 views
How to set a fastcgi handler for a given file extension with mod_proxy_fcgi
I have a perl fastcgi script that listens on port 2022 of localhost that I want to use as handler for any file with the extension 'stml'. What has proved to be trivial on every other webserver is ...
0 votes
0 answers
63 views
DreamHost (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
I'm on dreamhost and I keep having these errors in my error log. The site shows my custom 500 Error content, and the backend setting and customization pages, but all of the front facing content is ...
0 votes
0 answers
66 views
How does IIS FastCGI behave when concurrent connections exceed Max Instances?
What does IIS FastCGI do when the number of concurrent connections exceeds the Max Instances setting? eg, Max Instances is set at 1 and 2 requests come in at the same time. Does IIS FastCGI a) queue ...
0 votes
1 answer
359 views
PHP 8.2-FPM PHPRC Not Overriding Loaded Configuration File
I am using PHP 8.2-FPM with Nginx, and I am trying to set a custom php.ini file using the PHPRC environment variable. I can see that $_SERVER['PHPRC'] is correctly set in the PHP Variables section ...
0 votes
0 answers
152 views
Django on IIS with FastCGI: HTTP Error 500.19 - Internal Server Error (Config Error 0x8007000d)
I'm trying to host a Django application on IIS using FastCGI. I've followed the steps to set up IIS with FastCGI and the wfastcgi.py handler for Django. However, I keep encountering an HTTP Error 500....
1 vote
0 answers
75 views
Website Experience Intermittent Redirect Loops That Resolve Automatically
I am experiencing intermittent redirect loops on my website, which cause temporary downtime. These issues appear randomly but seem to resolve automatically without any changes on my end. I'm using ...
0 votes
0 answers
170 views
Scoreboard: failed to lock
the error log for php 8.x, reports that there is an error. It looks like this: 2024/08/15 17:55:10 [error] 1753#1753: *836069 FastCGI sent in stderr: "scoreboard: failed to lock (already locked);...
1 vote
2 answers
392 views
PHP file is not found when a path contains spaces using a FastCGI Unix socket
I am transferring a site that was built on Windows XAMPP to a server running Ubuntu 24.04 (Noble Numbat), Apache 2.4.62, and PHP 7.4.33. Everything is working fine, except PHP files containing spaces ...