Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [fastcgi]

FastCGI is an open interface web servers can use to execute applications in a secure and isolated manner.

0 votes
0 answers
43 views

Apache with Perl FastCGI - Internal Server Error

I can't get Apache and FastCGI for Perl running properly on Debian 12. What I have done so far: apt-get install libapache2-mod-fcgid a2enmod fcgid My Vhost file looks like this: <VirtualHost *:443&...
manifestor's user avatar
  • 6,499
0 votes
1 answer
44 views

Nginx + Fastcgi - adding a timeout for a specific route

I have a PHP Symfony application behind nginx/php-fpm - I would like to add a fastcgi timeout, but only for a specific endpoint. Here is what I tried. server { listen 80; server_name _; ...
Terry Anders's user avatar
0 votes
1 answer
74 views

Understanding mod_fastcgi apache2 module

I'm working in a Ubuntu 22.04.3 LTS I'm creating my own apache "arquitecture". I called it "myApache". The idea is that every user can run its own apache listening in its UID as ...
icalvete's user avatar
  • 141
0 votes
0 answers
20 views

NGINX Autospawning of FastCGI Perl Scripts

For the last several years, I’ve been using a setup of NGINX as a reverse proxy that passes any dynamic content requests to Apache. Apache then uses mod_fcgid to autospawn FastCGI-enabled Perl scripts ...
Timothy R. Butler's user avatar
0 votes
0 answers
33 views

How to start spawn-fcgi socket via systemd in Ubuntu?

I'm using spawn-fcgi for a site on nginx in ubuntu. I start the socket with the following command: spawn-fcgi -s /var/run/fcgiwrap.sock -M 755 -u www-data -g www-data /usr/sbin/fcgiwrap How can I ...
7tunnel's user avatar
0 votes
2 answers
110 views

Can’t run fcgiwrap and set permissions when installing bugzilla on ubuntu + nginx

I'm trying to install bugzilla on ubuntu + nginx and because I'm not a Linux expert, I encountered a problem at a certain stage. I did everything according to the instructions, and when I try to ...
7tunnel's user avatar
0 votes
0 answers
85 views

How to run Anaconda environment on IIS with WFASTCGI?

I have developed a web application in Python using the bottle framework. I have a Windows Server, and I used IIS as Web Server for my application, using WFASTCGI. My application requires packages to ...
SRKX's user avatar
  • 113
0 votes
0 answers
138 views

How do I get debug logging out of php_fastcgi in a container?

I am running a container built from this Dockerfile. It's running a basic PHP application. In front of it I have Caddy. A lot of people put nginx in front of PHP. I don't and I won't. So if your ...
Paco Hope's user avatar
  • 101
0 votes
0 answers
186 views

FROM php:7.4-fpm-alpine app.dockerfile results in fastcgi error when adding sh file to run as an entrypoint

I am using AWS ECS Faragate to generate and deploy docker containers into tasks. I'm using the docker image FROM php:7.4-fpm-alpine for my app container. I have been working on a workaround for cron ...
cwiggo's user avatar
  • 121
1 vote
1 answer
336 views

Apache: 500 error, PHP fails on just one specific path

I need another pair of eyes to help debug an issue. This will be a long message. I'm going to provide a lot of context because I'm not sure which details might be important. We have two servers: dev, ...
Will Martin's user avatar
  • 2,533
0 votes
1 answer
275 views

Tell Nginx not to cache based on a response header from upstream

I'm using Nginx to serve MediaWiki, and I use FastCGI caching to avoid unnecessary PHP calls. (In the MediaWiki LocalSettings.php file, I have $wgUseCdn = true; and in the Nginx config, I use ...
TaylanKammer's user avatar
0 votes
0 answers
44 views

Trouble using nginx location block to exclude certain files from fastcgi cache

I've searched and tried lots of iterations of an nginx location block to exclude certain files from the fastcgi cache, but I can't get it to work. I understand using a location block is preferable to ...
jamminjames's user avatar
0 votes
0 answers
64 views

Routing requests to cgi with nginx

I'm having trouble translating an application controller routing setup from Apache to nginx without using if , which is strongly discouraged. What I want: serve requests for static files as-is if they ...
Martok's user avatar
  • 43
1 vote
1 answer
66 views

Trying to use setfacl to allow script owner to delete cache file

I want to use setfacl to allow a php script owner to delete fastcgi_cache_path files that are owned by nginx. The user has been added to the nginx group. I have tried: setfacl -d -m u:user:rwx cache, ...
jamminjames's user avatar
-1 votes
1 answer
142 views

open() "/var/lib/nginx/cache/fastcgi/3/d0/bce7bdb8e2c388c7675c97c7324efd03" failed (13: Permission denied)

I am trying to add Caching for Proxy & FastCGI but once i try to view any page on the site it fails with 500 Internal Server Error and when i tried searching my logs for any errors i found that ...
Zorono's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
50