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

PHP-APC Installation

Trying to get my head around the way to install APC cache on PHP 5.3.13. That's a VPS with apache, configured preferably through whm/cpanel (although not only). I read a bunch of articles where it was suggested to use FastCGI with APC, as suPHP…
Leo
  • 141
  • 1
  • 2
0
votes
1 answer

Munin 2 data not showing up on graph

I have a fresh installation of Munin 2.0.1 on my Ubuntu 12.04 and the first time I tried to view graphs, it showed them properly(After installation, I had to follow http://munin-monitoring.org/wiki/CgiHowto2 to set it up) After that, the graphs show…
letronje
  • 429
  • 1
  • 6
  • 17
0
votes
1 answer

nginx: secure php sources by default config

Mistakes in the php {} part of vhost configuration files make php files to be "readable" with its source code like text files Is there a global setting, e.g. in the default config to forbid accessing php files without fastcgi?
ledy
  • 565
  • 1
  • 6
  • 15
0
votes
1 answer

How to know what .php scripts are eating debian memory?

We have apache2 web server installed with php in fastcgi Action application/x-httpd-php "/cgi-wrapper/fastcgi-wrapper" Options +ExecCGI SetHandler fcgid-script
dima.h
  • 145
  • 1
  • 6
0
votes
1 answer

nginx rewrite url to lowercase url

I have nginx setup, however I'm needing to fix an issue where someone types "/Home" to: rewrite it to the lowercase "/home" (do this to all files and directories, not just home) but locate the Uppercase (if there is one) file. Or do I need to add…
thames
  • 955
  • 3
  • 10
  • 20
0
votes
1 answer

Nginx rewrite rules, fastcgi and WordPress - 404 pages due to REQUEST_URI?

I'm trying to convert a set of rewrite rules which were created for Apache for hosting a WordPress site to use with NginX (fastcgi, PHP). From what I understand, WordPress has a page ("expo") which then uses code in a theme to check for a request…
mopoke
  • 51
  • 1
  • 5
0
votes
2 answers

Running php as fastcgi vs Apache mod with dir permissions of 777

Hi I'm a web developer by trade and not a server engineer please bear with me! I have just got a new Ubuntu LAMP VPS server, which I am trying to configure. I understand that running php as apache-mod is the fastest way of running php. but to…
user56631
  • 117
  • 1
  • 6
0
votes
1 answer

Why isn't FastCGI able to properly process PATH_INFO rewrites?

My current host uses FastCGI for its PHP setup, and this is apparently causing some issues when a mod_rewrite directive redirects to a URL with a PATH_INFO portion. For example, there are issues when using the following: RewriteEngine…
AgentConundrum
  • 211
  • 4
  • 12
0
votes
1 answer

Mono fast cgi not working on nginx

I installed mono fast cgi for nginx following instructions on: http://www.mono-project.com/FastCGI_Nginx but when i try to load test aspx file i getting 502 error gateway,and following error in error log: 2011/11/28 18:49:51 [error] 5376#0: *6…
0
votes
1 answer

php5-fpm spawning multiple times

On my 512MB ram server memory use was at 50%. I installed fastcgi and php5-fpm and now the server memory is report 137%. See below for results of 'top'. Currently I have a site in apache being served by nginx as a reverse proxy. But the site…
TechRemarker
  • 358
  • 1
  • 6
  • 17
0
votes
1 answer

How do i set a (open_)basedir with php using fastcgi/nginx?

Essentially i found out you can limit the folders each user has access to by using php's basedir/open_basedir. I'd like to have each php only access its own files. So i wrote fastcgi_param open_basedir $document_root; in hopes that it would…
user274
0
votes
1 answer

Why is FastCGI hanging after few requests?

I've an issue with using nginx with fastcgi. It just runs for few requests and then it hangs/dies or whatever. Nginx then just returns bad gateway (502). This is the code I used to spawn…
Rihards
  • 769
  • 2
  • 12
  • 22
0
votes
1 answer

PHP working directory running under IIS with FastCGI

I have got a number of scripts being moved from an Apache server to an IIS server. Many of these scripts assume that the current working directory of the script is the same as the directory containing the primary (?) scipt file being run. On the IIS…
Will
  • 1
0
votes
2 answers

Can mono/xsp with fastcgi handle more then one request?

Right now i am using nginx with mono/xsp through fastcgi. I haven't seen any clear answers but can xsp/fastcgi handle multiple request? I have one instance running all my sites. Would i get better performance if i have an instance per site? (this…
user274
0
votes
1 answer

nginx/fastCGI two domains, one codebase and a subdirectory

I have a website running on Nginx, FastCGI and php-fpm, with a number of pages in subdirectories on it (that are run through the same front-controller as the rest of the website). http://www.example.com/ - main…
Alister Bulman
  • 1,624
  • 13
  • 13