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

Troubled FastCGI Config -- 503 Errors

I'm getting FastCGI hangups where some websites are accessible, but others return 503 Service Unavailable errors (if I wait long enough for a response). It's got lots and lots of domains on this host not accessible. This is a server with 1000…
ServerChecker
  • 1,518
  • 2
  • 14
  • 35
0
votes
1 answer

lighttpd not reliable

I have a lighttpd running which serves a django-based webservice. It was running well for some months, but from today on, it returns a 410 sometimes, and sometimes fails silently. To test, I make a curl-call, which most time runs fine; it returns…
schneck
  • 155
  • 1
  • 6
0
votes
1 answer

How to disable Gzip compression by PHP script on FastCGI

We used this PHP code to disable gzip compression for specific scripts @apache_setenv('no-gzip', 1); But our admin migrated to FastCGI and this does not work anymore. How to do it? Thanks
Josef Sábl
  • 111
  • 1
  • 4
0
votes
1 answer

PHP unable to load dynamic library... but it is loaded. WTF?

I have a CentOS 5.4 server with Apache 2.2.3, mod_fastcgi and PHP 5.2.11. Everything is working great, server is a production server and I've had no complaints. When I was looking in PHP's error log to diagnose a problem with a specific page, I saw…
Josh
  • 9,190
  • 28
  • 80
  • 128
0
votes
2 answers

How do you setup a custom FastCGI and PHP5 on a shared host (to use APC)?

Im not sure if I have this setup right or not =/
qodeninja
  • 2,753
  • 10
  • 32
  • 33
0
votes
1 answer

Why is wp-cron taking up so many resources?

From /var/logs/httpd/error-log: [Thu Apr 22 01:41:15 2010] [notice] mod_fcgid: call /var/www/vhosts/mydomain.com/httpdocs/wp-cron.php with wrapper /usr/bin/php-cgi [Thu Apr 22 01:41:15 2010] [notice] mod_fcgid: server…
Gaia
  • 1,855
  • 5
  • 34
  • 60
0
votes
1 answer

Windows / Apache / PHP CPU at 100% under small load

I have a Windows box loaded with Apache 2.2 and PHP 5.2. It runs great if only a few users are on it at a time, but under load testing (50 users for test #1), the CPU climbs up to 100%. Nearly all of this CPU usage comes from httpd.exe. I currently…
Bart
  • 101
  • 3
0
votes
1 answer

Apache + mod_fcgid + perl = error 500

I'm trying to setup Apache2.2 with mod_fcgid and libapache2-mod-perl2 with no luck. I've created a fcgi-bin directory in the root directory of my website and put there a test.fcgi file with the following content: #!/usr/bin/perl use CGI; print…
user38484
  • 313
  • 2
  • 5
  • 10
0
votes
1 answer

Configure FastCGI for PHP on Low MEM VM

I have a VM with only 256MB of RAM that is running nginx and PHP 5.3. Since I am resource constrained (cannot change the amount of RAM in the VM) I am looking into the various ways of setting up FastCGI for PHP. Perhaps my Google-fu is weak, but I…
Rob
  • 185
  • 1
  • 8
0
votes
1 answer

Nginx FastCGI Skip Cache Rules for /shop/ in Wordpress woocommerce, why aren't they working?

I am running a LEMP server with Wordpress and Woocommerce. My site is live at https://www.mcmo.is. My Nginx Skip Cache rules seem to be working except for on one page: https://www.mcmo.is/shop When adding a product to the cart, and clicking…
DanRan
  • 73
  • 1
  • 3
  • 22
0
votes
0 answers

What is the proper value of "fastcgi_split_path_info" in Nginx virtual host when using php 7.4 with "cgi.fix_pathinfo = 1" on Nginx v1.25.1 Mainline?

BACKGROUND: I am running a LEMP server with Ubuntu Server 20.04 with Nginx v1.25.1 Mainline and php7.4-fpm. In my virtual hosts file I am trying to set the proper and working fastcgi_split_path_info in the location ~ \.php$ { directive, but I'm not…
DanRan
  • 73
  • 1
  • 3
  • 22
0
votes
1 answer

Fastcgi script "file not found" / Primary script unknown

ACTUAL SITUATION I am in the process of transferring a static web server to a container. ISSUE ENCOUNTERED When i'm trying to reach my server, i received "File not found" with : curl command : curl --insecure -v -H "Host: "…
0
votes
0 answers

IIS fastCGI: iis minimum instances

I've noticed that IIS is very slow creating fastCGI process. My server normally use 3/4 fastCGI thread, but, in traffick peack, create untill 400 thread. During this process, the server is very very slow. I wanna to set 400 fastCGI permanently…
0
votes
1 answer

Nginx FastCGI cache is EXPIRED when it should not

Nginx sets the x-fastcgi-cache header to EXPIRED a few hours after the page was first cached, whereas the cache validity is 1 week. Nginx Config: fastcgi_cache_path /usr/share/nginx/fastcgi_cache levels=1:2 keys_zone=phpcache:500m max_size=30g…
0
votes
0 answers

How to create a proper nginx fastcgi configuration for 1 server 1 domain

I would like something simple like everything to redirect to ssl and from there cached I guess no? How can I get non www version to redirect to www version as well PS. I am using ssl strict comunication with cloudflare on the system nginx and…