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
2 answers

Serve php-fpm via nginx for a specific path in URL defaulting to static content

I'm trying to run two websites on the same hostname where one serves static content (an AngularJS application) and the other one routes all requests to PHP (API written using Apigility) but only for a specific path in the URL (more on that…
Andris
  • 131
  • 1
  • 6
0
votes
1 answer

How can I get apache to only pass through to fastcgi on .php files?

We're running a different version of PHP for one of the sites, so we've configured fastcgi. But requests to any files, even static css and js is being passed through. How can we limit it to php only? This is the current configuration:
Kit Sunde
  • 946
  • 3
  • 12
  • 33
0
votes
1 answer

Why does PHP running as FCGI need to spawn multiple children?

What is the benefit of this, versus launching just one?
qodeninja
  • 2,753
  • 10
  • 32
  • 33
0
votes
0 answers

FastCGI: manager (pid YYYYY): server (pid XXXX) exited with status 13

FastCGI: manager (pid 6776): server (pid 20254) exited with status 13 FastCGI: manager (pid 6776): server (pid 18918) started FastCGI: server (pid 18918): initialized I am getting above mentioned error on my catalyst based application running under…
0
votes
2 answers

Django .htaccess

I have a site that is only partially Django driven. I want the Django portion to be anything under http:www.mydomain.com/register. Anything not in this directory should get served by apache as usual. I also must use fastcgi on my server. How would…
Jon
0
votes
1 answer

nginx on fedora fastcgi not working

I'm running nginx on Fedora Server 22 and fastcgi scripts are not working. Under http://panel.minefight.org/ enter any login data, it doesn't load the password fail or success site. The same thing happens with other login forms. The server isn't…
falkseidl
  • 13
  • 1
  • 5
0
votes
1 answer

Staticfiles for Django cannot be located on IIS 8

I have a Django 1.7 website configured on IIS 8 platform. The staticfiles are kept in a folder generated after running collectstatic command. As mentioned in the tutorials I have made that folder a virtual directory and deleted the django handler…
Zain Khan
  • 111
  • 7
0
votes
1 answer

Make Apache wait longer before delivering HTTP 408 request timeout

My configuration: Apache 2.2.4 PHP 5.2.4 (fastCGI) Windows XP pro I have a script that takes more than a minute to run but after exactly 60 seconds (proven by Fiddler) the server always delivers a 408 timeout. My PHP max execution time is set to 120…
Aaron
  • 111
  • 1
  • 3
0
votes
3 answers

How do I get linux server to use local PHP.ini in a shared environment?

I'm on shared server environment (Dreamhost.com uses Linux/Debian). I followed their instructions here on setting up a local PHP5 instance on my user account so that I could use APC (php5 accelerator) A caveat is that I don't have php5 installed on…
qodeninja
  • 2,753
  • 10
  • 32
  • 33
0
votes
1 answer

How to dynamically update page related data when FastCGI caching is enabled?

I am using php based blog on NGINX server with FastCGI cache. Without this cache, it is easy to update pageviews with every page load for a specific url. When FastCGI cache is in action, pageviews aren't updated. I am thinking to implement pixel…
g13
  • 61
  • 5
0
votes
2 answers

100% CPU usage on my CentOS VPS

I have a 512 MB VPS and hosting 2 WordPress websites on this CentOS server. I have installed apache + mysql + PHP + fast cgi on this server. Everything was working great from last 6 months. I have 500 users per day on both websites combined. So no…
Robert hue
  • 125
  • 1
  • 10
0
votes
1 answer

Using fastcgi_split_path_info for a userdir in nginx

I'm trying to execute a PHP file on my server at the url /~nik/t.php (actual file is at /home/nik/public_html/t.php). Here's what my PHP settings look like: location ~ ^/~(.+?)(/.*)\.php$ { alias /home/$1/public_html; # What should this…
nnyby
  • 298
  • 3
  • 5
  • 16
0
votes
1 answer

Add a PHP Handler to a website or even a folder only via AppCmd

I am trying to automatically deploy an IIS webserver (currently 8.5, will need to work it out all the way down to 7.5 as well), using AppCmd.exe I am using PHP's FastCGI to handle requests. I have configured the FastCGI pool on server level. Now I…
Worp
  • 327
  • 1
  • 4
  • 15
0
votes
1 answer

CSS & JS & images = 404 for WordPress blog in Rails + Nginx environment

I'm pulling out my hair on this one. You can see yourself here - http://starterpad.com/blog/ - that all the images, CSS, and JS files are 404 errors. The main StarterPad site (http://starterpad.com) is running Rails, and it seems fine. But the…
Kane
  • 262
  • 1
  • 2
  • 10
0
votes
1 answer

Nginx Load Balancer having two load balanced nginx+php-fpm (Primary script unknown) error

We have two web servers with nginx+php-fpm ( 10.0.0.10 and 10.0.0.20 ), which is load balanced behind another nginx server ( just nginx ), when we try to browse we get file not found error, with error logs listed at the bottom. Load Balancer…