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

Nginx on Windows offering to download PHP pages

I have Nginx and PHP 5.3.5 running on my at Windows PC at work (I don't have administrator rights). Serving static content works as expected, but when using FastCGI with PHP Nginx serves the PHP page as downloadable content, so I get a 'save as...'…
chattsm
  • 329
  • 2
  • 3
  • 7
0
votes
1 answer

fastCGI in nginx and centOS

I was following this tutorial, I got it to a point where I was to test if I can run the /etc/init.d/phpfgci start command. However it gives me this error: Starting service:spawn-fcgi: can't find user name nginx [root@Server /]# …
EquinoX
  • 367
  • 3
  • 11
  • 27
0
votes
1 answer

Bluehost: 1 Minute Delays?

On Bluehost shared hosting (Apache 2.2 + FastCGI + APC), I have the problem that some requests take almost exactly one minute to respond. Yet time spent in PHP is only two seconds. To demonstrate the issue, I created a temporary test page. Sample…
feklee
  • 505
  • 5
  • 19
0
votes
1 answer

ubuntu+nginx+fastcgi php owner

how to set up different owner for php? now it runs from www-data, i need to setup it runs from myself
kusanagi
  • 145
  • 1
  • 4
0
votes
1 answer

PHP with FastCGI on IIS6 behaves differently than ISAPI

I am working with Moodle 1.9 running on Windows Server 2003, IIS 6. I am trying to switch from PHP's ISAPI extension to FastCGI, hoping for a speed improvement. I installed FastCGI for IIS 6 just fine, and configured it for PHP. It works, and in…
Brad
  • 1,419
  • 22
  • 43
0
votes
3 answers

Why is my apache2, mod_fcgid, php configuration causing 100% cpu usage?

Page load makes a quick initial connection, then hangs about 10 seconds before the page renders. When the server load goes up I start watching top & I see that both CPUs get pegged at times to 100% by between 4-8 processes of php-cgi. My theory is…
Scott Lundgren
  • 411
  • 1
  • 5
  • 7
0
votes
1 answer

FastCGI + Apache: How to map a url to a specific fastcgi binary

I have written two C++ fastcgi applications (foo and foobar). I am running apache 2.2 (prefork) with mod_fcgid on Ubuntu 10.x. I want to be able to setup apache so that: http://mywebsite/some/path1?param1=value1¶m2=value2 will run the fastcgi…
skyeagle
  • 11
  • 4
0
votes
1 answer

Switching PHP to FastCGI from mod_php broke AMFPHP

i've just switched my debian server from mod_php to fastcgi following this tutorial everything goes right but now i've found that one of the hosted application that using AMFPHP for flash remoting is broken. I'm trying to understand what's happend.…
wezzy
  • 211
  • 1
  • 2
  • 6
0
votes
2 answers

Lighttpd: requesting local URLs via PHP

I have a webserver which serves content for a site, let's call it "domain.com". On that site, I have several PHP scripts that serve content. When someone browses to that site, everything works. If I request, from within PHP (with Curl/Fopen), a URL…
Mojah
  • 876
  • 1
  • 9
  • 13
0
votes
2 answers

Forcing scripts on apache to run under different accounts to enhance security?

My client's website was recently defaced and they are seeking was to mitigate this risk. They have a dedicated server running apache and mod_php. The website consists of three separate php applications installed in different folders (Customer portal…
Michelle
  • 923
  • 5
  • 20
  • 30
0
votes
4 answers

Is that normal to have many idle connections in MySQL (without persistent parameters)?

But we didn't use any persistent connections. Why are there many idle connections? We noticed that by using 'show processlist' command and the time was about 4000-8000 seconds. Those connections looked like always 'sleep'. We're using Nginx with PHP…
Mickey Shine
  • 939
  • 4
  • 17
  • 33
0
votes
2 answers

why are there so many connections in MySQL?

We're using Nginx + PHP in fastcgi mode, and using PHP-FPM as cgi process manager. In our scripts we use PDO to connect MySQL and definitely NOT in persistent mode. But recently we found we still got too many connections in MySQL, any suggestions…
Mickey Shine
  • 939
  • 4
  • 17
  • 33
0
votes
1 answer

Sympa attachments are zero length when downloading from a message in moderation

I have an issue with the web interface for Sympa mailing list server. If you try to download an attachment from a message that's in moderation, the file is zero length. The mime headers are being sent correctly. The attachment is in the raw email, I…
thepearson
  • 870
  • 10
  • 18
0
votes
1 answer

PHP Page Generation Times - IIS 7.5 + PHP + FastCGI + Invision Power Board 3

I have an forum running invision power board 3 which has page generation times of just under 5 seconds. I have enabled wincache. Is there anything else I can do to increase the responsiveness of this application under PHP + FastCGI? Can we use IIS…
Aaron
  • 301
  • 3
  • 10
0
votes
2 answers

Do nginx fastcgi script permissions stay with script owner or www-data (webserver user?)

Does the fastcgi permissions in nginx work like those in Apache, in which it runs with permissions of the script owner? From what I see it runs with the permissions of the web user. Can it be changed to run with only the scripts owners rights?
vfclists
  • 1,632
  • 5
  • 22
  • 37