Questions tagged [fastcgi]

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

FastCGI is an open interface web servers can use to run applications as separate isolated processes. It is an enhancement of the original NCSA CGI interface specification, with a range of improvements. The primary improvement over the standard CGI approach offered by FastCGI is performance, hence the name.

FastCGI is supported by a broad range of Web Servers (such as Apache, nginx, lighttpd).

730 questions
0
votes
1 answer

Nextcloud: Bad Request (expected filesize XXX got 8192)

I am transitioning from ownCloud to Nextcloud. Everything seems to work, only the upload doesn't work, yet. Everytime I upload via the Web Interface, I get the "Bad Request" message. Via the Desktop client, I also get "Bad Request" with some…
Niklas R
  • 123
  • 1
  • 11
0
votes
1 answer

Limit fastcgi (php-cgi) process time on Ubuntu 16.04

I want to limit the php-cgi processes time since the processes never close themselves and slowly all those processes eat the whole RAM (not cache/buffer) and the server starts going very slow. The only way right now to close those processes is using…
demlasjr
  • 49
  • 1
  • 6
0
votes
1 answer

Handler for fastcgi-script returned invalid result code 32

There is an error on a WordPress SSL site in my VPS server that is generating almost every couple of minutes. It is causing high load CPU usage. The Error from apache log: [core:error] [pid 15166] [client wp.website.ip.here:50529] AH00524: Handler…
fat_mike
  • 123
  • 8
0
votes
1 answer

Using nginx with dockerized fast cgi - root path

I have a docker container that runs a php fastcgi application on port 9000. The root path is mounted at /var/www/my_app and contains all assets like images and javascript. I want to use nginx as a reverse proxy. My current nginx configuration file…
zarathustra
  • 123
  • 1
  • 1
  • 7
0
votes
1 answer

HAProxy -> nginx -> Fast CGI: epoll_wait() reported that client prematurely closed connection

I have been successful in setting up an PHP fast CGI application fronted by nginx. If I hit nginx directly everything works as expected. However, in production the traffic is routed through a HAProxy instance and I can't get that configuration to…
djskinner
  • 131
  • 1
  • 6
0
votes
1 answer

PHP script cannot run more than 1 minute on IIS 8.5

I've set max_execution_time to 0, set memory_limit to '-1' and time limit 15 minute for FastCGI but getting a "500 - Internal Server Error" when running a PHP script more than 1 minute. Anyone have any ideas why this cannot run more than 1 minutes…
0
votes
1 answer

Setup xymon with nginx on debian 8 gives 403 on cgi scripts

I am trying to set up xymon with nginx on debian, and I have the initial setup done. However, whenever I hit a cgi script I will get a 403 error. Here is my setup: server { listen 127.0.0.1:8081; server_name localhost; index…
mahatmanich
  • 2,954
  • 3
  • 22
  • 23
0
votes
0 answers

nginx Fast CGI Cache Redis Cache for WordPress

I have a site running around 60 plugins and around 5000 users. I used to be quite slow so I set up nginx with fast cgi caching which workes like a charm. However it (of course) is set up to skip the cache when a user is logged in into the backend…
Mike
  • 101
  • 1
0
votes
1 answer

How to exclude some FastCGI URLs from Windows Authentication in IIS 6.2

I have a Site in IIS 6.2 that is using Windows Authentication to control access. There is one URL that I don't want authentication on - I want users to be able to access it anonymously. All URLs in the Site are served dynamically by FastCGI…
Matt
  • 215
  • 2
  • 7
0
votes
1 answer

Nginx / FastCGI - Call PHP files in subdirectories

We have an issue with calling php files in subdirectories of domain. What's working without an issue: example.com/mod/eco/file.php but when our domain is placed with a virtual subdirectory it's not working like…
0
votes
3 answers

chmod 640 in wp-config.php with user:www-data gets white screen on WordPress

I have an Ubuntu 16.04.1 with Apache 2.4.23, PHP 7.1 RC3, FastCGI, PHP-FPM with separate pools for every site, MariaDB, PhpMyAdmin, Webmin and Nginx as a reverse proxy because I have to install Varnish and all my sites are SSL. I've also installed…
Karls
  • 33
  • 1
  • 7
0
votes
1 answer

nginx fastcgi_cache is only working for 1 website, no other website is getting cached data

I am setting up a new web server and I'm nearly ready to go live but can't iron out 1 last issue - and thats I have multiple WordPress websites setup. Each WordPress website has its own install and installation directory and a separate database. I…
NginxNewb
  • 1
  • 2
0
votes
0 answers

nginx php7.0 fastcgi return internal server error on path

I am configuring php7.0 fpm on nginx 1.10 on ububtu 16.04 server. After follwing thousands of instructions from web, I am still not able to get it to work. I keep on getting internal server error in the browser with no error log whatsoever, neither…
0
votes
2 answers

CherryPy (or other Python framework) with FastCGI on shared host

I am trying to configure the Python mini-framework CherryPy with FastCGI (actually fcgid) on Apache. I am on a shared host, so I don't have access to httpd.conf, just htaccess. I have followed these tutorials to no…
arshaw
0
votes
1 answer

Apache2 + FCGI + PHP5 not creating sockets / pools

I have a pretty vanilla setup with Apache2, FastCGI setup as DSO and serving PHP through an external CGI script that sets the max children / serves the request to PHP. The issue is FastCGI doesn't appear to be creating the PHP sockets / pooling them…
CodyRo
  • 11
  • 1