Questions tagged [fastcgi]

FastCGI is an optimized implementation of the CGI interface that aims to reduce the processing overhead for each CGI request on a webserver.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
22 views

Enabling Fast-CGI Caching on Bitnami WordPress on Kubernetes

I am trying to enable Fast-CGI Caching on Kubernetes using Bitnami WordPress Helm Chart with NGINX-ingress-controller. So far I have the following ConfigMap: I have the following Ingress controller: ...
Charlotte Wells's user avatar
-1 votes
0 answers
45 views

Nginx performance too slow

my woocommerce site running in AWS c5.4xlarge linux server. my issue is the performance of site is very very slow. even some static files with 10kb takes 6-7 seconds and overall loading time of site ...
Harish Ksoft's user avatar
0 votes
0 answers
39 views

Symfony + NGINX = upstream sent too big header while reading response header from upstream

Attempt to open Symfony web application in browser ends with 502 error. NGINX log contains error for this -- upstream sent too big header while reading response header from upstream. According to many ...
vbulash's user avatar
  • 13
0 votes
0 answers
71 views

Nginx (external) with fastcgi_pass to PHP (Kubernetes): upstream sent unsupported FastCGI protocol version: 72

I am new in Kubernetes. I had a working setup of separate servers for frontend and backend, all before Kubernetes. A frontend webserver which served a static build of a React App, and a backend server ...
fabpico's user avatar
  • 2,718
0 votes
1 answer
21 views

How access the same domain with different folders from the Internet (wan) Apache (wamp)?

I would like to know if I can access different folders from the Internet using the same domain. I am using FCGI, which means that for each project I have a different version of php, locally it works ...
Sylar's user avatar
  • 197
0 votes
0 answers
7 views

Apache2 Fastcgi php-fpm shows white page

Can anyone please provide me step by step the way i can run apache2 on fast-cgi on ubuntu 22.10, I tried several thing but either I get a blank page either errors I am on new installed Apache2 server ...
kos's user avatar
  • 1
0 votes
1 answer
40 views

Python script ignoring known_hosts file when connecting to remote server

Setup:A Windows Server, executing php scripts using fastCGI as a service user (i have verified this by doing exec(“whoami”, …)). They launch python scripts using exec (which are also ran as the ...
jqlifice's user avatar
0 votes
0 answers
31 views

how fastcgi close the connection between client and nginx

My application tructure is client ->nginx(keepalive open) -> fastcgi, and I need fastcgi control the connection close or keep-live. I tried to close the connection between clinet and nginx by ...
wangtantan's user avatar
0 votes
0 answers
310 views

FastCGi process exited on IIS 10 PHP 8

I've had this problem with my .php pages for a while now and have not found a solution online for PHP 8 on IIS. I use Windows Server 2022, ISS 10, PHP 8, 12 GB RAM The error occurs when I use my ODBC ...
Gummi's user avatar
  • 37
0 votes
0 answers
30 views

How can Nginx be configured to serve stale responses while attempting to update the response?

I have an API that takes a long time to generate a response. I want to use Nginx's fastcgi_cache to prevent users from waiting for the response. I have enabled the cache and it's functioning well. ...
Amin Djawadi's user avatar
0 votes
0 answers
28 views

Python and FastCGI protocol

I try to understand what types of web-servers exist (static Apache Server, Apache Server + CGI, Apache Server + FastCGI). So, my question: how to setup Apache Server to run python with FastCGI ...
Daniil Stepanov's user avatar
0 votes
0 answers
66 views

How can I get FastCGI to work properly and still monitor PHP errors?

I encounter a FastCGI problem when setting the PHP parameter 'track_errors' to 'On' in my Windows 11 Pro development environment. It is not just a Deprecation Warning in the PHP-generated log-file, ...
Sthop's user avatar
  • 1
0 votes
1 answer
158 views

proxy_fcgi:error malformed header from script bad header

I'm attempting to "rebuild" an infrastructure for the development team in my company using Docker. I accomplished this about 1 year ago, and now I'm working on refactoring and rewriting it ...
lonen's user avatar
  • 1
0 votes
0 answers
68 views

wfastcgi.py on IIS 10 closing because of empty data on cgi record

I'm trying to migrate a python backend application from IIS 8.5 to IIS 10 in a new server. While in the old server the application works just fine, in the new one it is getting a 500 error. I tried to ...
Cesar's user avatar
  • 1
0 votes
1 answer
122 views

How to fix mod_fcgid: can't apply process slot

Recently, my server froze up, refusing to respond to requests. I was unable to connect via SSH, and finally, after some contact with my hosting provider, the server restarted and resumed working. I ...
Inkbug's user avatar
  • 1,682
0 votes
0 answers
81 views

How to force Nginx to override PHP CGI HTTP Status code?

In Nginx + PHP-FPM configuration I have a .php file with the following content: <?php header("HTTP/1.1 405 Method Not Allowed"); echo 'hi'; ?> Now, if I want to force Nginx to ignore ...
Mohamad Reza's user avatar
0 votes
0 answers
53 views

HTTP status code returned by Laravel application in IIS

I been trying to configure a REST API written with PHP and Laravel for a few days, but I can't get the correct HTTP status code according to the error returned (401, 404, 500, etc). IIS always ...
Paulo Cruz's user avatar
0 votes
0 answers
119 views

Woodmart WooCommerce Social Login URL

I'm running a WooCommerce store and using the Woodmart theme along with Elementor. I'm encountering some issues when trying to enable social login for Facebook and Google. It works flawlessly in my ...
Yve Goodfolk's user avatar
0 votes
1 answer
70 views

Flask app deployed on IIS fails to handle unicode in URL

I have a Flask app with a route defined like this: @app.route("/api/<value>") def foo(value): ... On my local machine, using Flask development server, everything works correctly. ...
isshp's user avatar
  • 292
0 votes
0 answers
166 views

Unable to connect to the PHP FastCGI process: dial tcp :53315: socket: too many open files

hope you are doing well. I am encountering the following error when running my Symfony project with Nginx and PHP-FPM on local : unable to connect to the PHP FastCGI process: dial tcp :53315: socket: ...
bahahmadou94's user avatar
1 vote
0 answers
41 views

Using Python C API and FastCGI, how can I get the Python C API to send output to NGINX instead of stdout?

I am using the Python C library and FastCGI to run code in a file and return the output to NGINX. The problem is PyRun_SimpleString outputs to stdout, which is fine for a CLI, but is ignored by ...
Sidney's user avatar
  • 13
0 votes
1 answer
142 views

How to deploy flask app on lighttpd server on yocto linux using flup , fastCGI package for production

I am trying deploy the flask app on production on lighttpd webserver. I m using yocto based linux OS. The folder structure is mentioned below: /my_project/ /app.py /app.fcgi /static/ ...
Sameer Sharma's user avatar
0 votes
0 answers
49 views

NGINX FastCGI configuration for multiple servers behind ELB on AWS

We are using NGINX FastCGI Cache for our WordPress application. To support higher concurrency, we are running 2 WordPress instances on separate EC2 instances behind AWS ELB, with shared filesystem on ...
raj's user avatar
  • 491
0 votes
0 answers
55 views

NGINX, fascgi, ffmpeg (110: Connection timed out) while reading response header from upstream,

I started with this blog as a starting point. I've got a an rtsp stream I'd like to play on a browser. While it will work, it's sporadic at best, failing more often than not. server block: server { ...
J.Milliscone's user avatar
2 votes
0 answers
90 views

Failed to install fcgi gem

Windows Server 2016, Apache 2.4, Ruby 3.0.6 (with webkit), Rails 7.0.4.3 I'm trying to install FCGI gem with the command gem install fcgi but it returns that error: C:\Apache24\htdocs\redmine-5.0.5>...
Tomas's user avatar
  • 33
0 votes
1 answer
263 views

How is php-fpm socket folder ({/var,}/run/php-fpm) created on Linux?

I am setting up multiple php versions on CentOS7 (native and from remi repos). As installed, the native php-fpm is setup on a unix socket, while the (remi) php74-php-fpm would listen on a TCP socket. ...
Alien Life Form's user avatar
0 votes
0 answers
54 views

shibboleth configure with nginx and fast cgi

i'm configuring nginx with shibboleth. This is an error I'm getting: 2023/05/17 13:38:08 [error] 1027193#0: *21 FastCGI sent in stderr: "shib: doHandler failed to handle the request" while ...
Harry's user avatar
  • 13
1 vote
2 answers
241 views

How can I execute a third party C programm using nginx fast-cgi for web server?

I and a project team are trying to make our server use a C algorithm in background of our hosted website. Our server as bitnami nginx already installed but i can't find any information on the net ...
StopSign's user avatar
-1 votes
1 answer
136 views

PHP Project Mounted on IIS Windows Container won't run

I set up IIS on windows servercore container and mounted my project directory to wwwroot. I keep getting the following warning from PHP when I run the project: PHP Warning: Unknown: Failed to open ...
Babatunde's user avatar
0 votes
1 answer
185 views

lighttpd gives 403 Forbidden with PHP file

I have a lighttpd server in a container running the sebp/lighttpd image (lighttpd on Alpine Linux). It can serve HTML files with no problems. I am trying to set up PHP for this server. However, when I ...
Mat's user avatar
  • 879
0 votes
0 answers
236 views

What's the difference between fastcgi vs proxy_pass for golang/java/js etc app?

As far as I understand, we want our application to be already loaded into ram and contacted directly with Nginx? Then what would be the difference between fastcgi vs proxy_pass?
Betflop's user avatar
  • 145
1 vote
0 answers
210 views

Nginx ingress config not being generated correctly in Kubernetes

Looks like my NGINX is trying to connect to the php-fpm container via HTTP instead of fascgi. When I try to connect to the php-fpm container manually via fastcgi, thats the response: Status: 404 Not ...
wcb's user avatar
  • 11
0 votes
0 answers
182 views

Nginx - file not found error showing when running docker container in VM

Bit of background, we have a legacy project that is running PHP 7.2 that we are looking to containerise using docker. In our dev team, we have devs running windows and Mac so we decided to use ...
Pooshonk's user avatar
  • 1,294
0 votes
0 answers
46 views

Passing realpath to FastCGI using IIS

For a legacy system we're trying to introduce parallel deployment releases and swapping out the "current" directory with a virtual link to the latest release folder during deployment. ...
spaceemotion's user avatar
  • 1,434
-1 votes
1 answer
96 views

Adding web interface/control to c++ application

I have a c++ program on a raspberry pi (headless setup) that records data from an ADC every minute over a period of days and stores them in a file. I want to add an web interface to it that launches ...
user avatar
0 votes
1 answer
97 views

"FastCGI process exited unexpectedly" intermittently occurring on PDO connect with identical files

NOTE: This is a significant rewrite (and retitle) based on the last couple of days of poking at the problem since posting the original question. I have a PHP script that used to work but over the ...
dspitzle's user avatar
  • 750
3 votes
0 answers
3k views

Fast CGI Handler not installed in Windows IIS

I am trying to run a Django app with IIS server. Here are my settings: Windows Server 2019, IIS 10.\ I am following this tutorial. I am setting up my server and added CGI as shown in the image. But, ...
architdatar's user avatar
0 votes
2 answers
187 views

How does getenv() get the parameters of the http request parsed by nginx?

When writing CGI program for spawn-fcgi, use getenv() to get environment variables, that is, the parameters set by fastcgi_param command in fastcgi.conf. but when I use the env command output on the ...
LandP's user avatar
  • 173
0 votes
1 answer
53 views

How can I get niginx fastcgi to run requests in parallel?

I'm trying to get nginx to serve more than one connection at a time, with a fasgcgi backend. This stackoverflow answer might contain the answer, but neglects to say where that option could be ...
curiousity's user avatar
0 votes
1 answer
130 views

php-cgi suddenly very slow with minimal CPU on DMZ server

We have a Moodle IIS implementation where the primary data/IIS server is on our LAN, but we also have a public facing IIS server on our DMZ. Until recently, performance when accessing Moodle via the ...
Calan's user avatar
  • 3
0 votes
0 answers
106 views

Error in deployment of Panel Dashboard(Python) on IIS server using Fast CGI

Error occurred while reading WSGI handler: Traceback (most recent call last):File "C:\ProgramData\Anaconda3\envs\Dashboard\lib\site-packages\wfastcgi.py", line 791, in mainenv, handler = ...
Harsh Raj Mishra's user avatar
0 votes
0 answers
280 views

IIS 10 python Fastcgi application works when I define the handler in the web.config at site level but not at the application level

I have a site defined for my IIS and I have a web.config defined at site level, and my application runs fine if I also define my fastcgi handler at this level. But I need to make this application ...
Davidiam's user avatar
0 votes
0 answers
784 views

When changing php to fastcgi mode (php-fpm) under ubuntu20.04, the rewrite rule fails

I have installed Apache 2.4 and PHP 7.4 on an Ubuntu 20.04 system. By default, PHP works in mod_php mode and the program's rewrite rule was functioning normally. However, when I switched to fastcgi ...
zidon's user avatar
  • 1
0 votes
0 answers
68 views

Call C function with arguments on fastcgi web application

I'm developing a web app for a reservation system and so far I achieved to send a mail with libcurl and display the form in HTML using fcgi_stdio.h, but both separately. This is how it looks #define ...
Julio's user avatar
  • 3
0 votes
0 answers
89 views

Yoctoproject recipe for Python 3 flup package required to use WSGIServer() module?

Does there exist any yoctoproject recipe for python3-flup or python3-flup-py3. I want to use FastCGI setup on lighttpd webserver. I am using flask web framework for my web application. The .fcgi file ...
Sameer Sharma's user avatar
0 votes
1 answer
347 views

Combining a PHP app and Caddy with two distinct Docker containers and FastCGI

I am currently trying to understand the functionality of Caddy and FastCGI. I have a setup that was working perfectly fine with NGINX and where I want to switch to Caddy to use the built-in SSL ...
hoelska's user avatar
  • 59
0 votes
1 answer
131 views

Git server cannot push. Unable to create temporary object directory

Good afternoon, I'm trying to come up with my own hosted git server and I am having trouble configuring the git options with HTTPs. I have installed nginx and fastcgi. And those are the following ...
as43z's user avatar
  • 25
0 votes
0 answers
87 views

Flask Invalidates Login Session on most page requests

I have a Flask App deployed on IIS using FastCGI. After logging in, I'm successfully redirected to homepage with the user information displayed. Both the Session & Remember_Token are also created. ...
Dunkin Doughnuts's user avatar
0 votes
0 answers
462 views

chrome strict-origin-when-cross-origin cross domain query

description of the problem: I have a site which distribute the configurations https://cliconf.aa.bb.cc/cgi-bin/get-config.cgi it returns config json and some HTTP headers for cors: vary: Origin vary: ...
n0whereman's user avatar
0 votes
0 answers
109 views

problem with file mounts in Nginx and php fpm containers

I have two containers: laravel with php:8.1-fpm-bullseye container exposed on 9000 nginx with nginx:1.23.1 nginx uses fastcgi_pass directive in configuration file Question: why do i need to also ...
Hirbod's user avatar
  • 67

1
2 3 4 5
41