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
1
vote
1 answer

Reinstall Apache with Apache Handler over FastCGI

We are currently running apache with fastcgi. Here is what it says on our phpinfo: Server API CGI/FastCGI We need to change that to be Apache. How do I do this?
somejkuser
  • 250
  • 3
  • 10
1
vote
2 answers

PHP5-FPM + Apache2 on Debian Wheezy : connect() failed with FastCGI

I have this error on Debian Wheezy, I don't understand what am I missing. Logs from php5-fpm are OK. Error from apache2 log: [error] (2)No such file or directory: FastCGI: failed to connect to server "/var/lib/apache2/fastcgi/php5.fastcgi":…
Dingding
  • 11
  • 1
  • 1
  • 3
1
vote
2 answers

Can I make nginx to resend the request to FastCGI after a few seconds?

My FastCGI (PHP-FPM) application may encounter a situation where it needs some time to heal itself up. I'd like to tell to nginx that it should wait a few seconds and then resend the request to the FastCGI backend. I have already experimented a…
Ville Mattila
  • 459
  • 7
  • 13
1
vote
2 answers

Trying to install wordpress inside rails app with nginx and fastcgi

I have a rails app (let's call it myapp) running at www.myapp.com. I want to add a wordpress blog at www.myapp.com/blog. The webserver for the rails app is thin (see the upstream block). The wordpress runs with php-fastcgi. The rails app works fine.…
1
vote
1 answer

Can't get PHP files to work "File not found"

I have nginx installed on my VPS which is running CentOS 6.3 and I can't seem to get any PHP files to work. Here is my nginx.conf file:- user nginx; worker_processes 2; error_log /var/log/nginx/error.log warn; pid …
Mr.Flocker
  • 41
  • 8
1
vote
1 answer

apache+php-fpm and security in shared enviroment compared to apache+suexec+mod_fastcgi

I've been using Apache with suexec and mod_fastcgi. It starts up PHP handlers as the selected system user and listens to request via PIPES (fastcgi protocol). It works well but can't share opcode via many handlers. I've been investigating php-fpm…
user172372
  • 11
  • 1
1
vote
1 answer

How do i set a open_basedir with php using fastcgi/apache2 on linux?

I tried to add this line to my virtual hosts in Apache, but failed: php_admin_value open_basedir "/var/www/users/test" My installation: root# apt-get install apache2 apache2-suexec libapache2-mod-fcgid php5-cgi Any ideas? Something I noticed in…
centurian
  • 421
  • 3
  • 7
1
vote
0 answers

Performance issues with small dedicated plesk centos5 server

I am getting some fairly sever performance issues with my plesk 11 dedicated box, it has 8 gigs of ram, static pages load very fast, a firstbyte time of less then 0.5 seconds, however dynamic php files, including just a php info can take between 1…
user168674
  • 11
  • 1
1
vote
1 answer

Multiple VHosts with FastCGI and Suexec

I have a Debian virtual machine server which I have full control over, but I have someone who wants to host a single domain on it. This is obviously a security concern, as even if his particular user cannot read all of the other domain's files, any…
bountiful
  • 151
  • 3
1
vote
2 answers

Can't Get New Instance Of RT To Start

I am trying to transplant an instance of RT 4.0.1 (with local code customization) from a CentOS 4 server to a CentOS 6 server. My problem appears to be that I can't get the fastcgi script to start. When apache starts, it gives this error: [Mon Mar…
David Mackintosh
  • 14,293
  • 7
  • 49
  • 78
1
vote
2 answers

Need Apache's SCRIPT_URL equivalent in nginx + php-fpm

I'm moving a legacy Zend Framework application over to Nginx + php-fpm. Here are my relevant configs: server { listen 80; server_name *.sandbox.journalexperts.com; port_in_redirect off; server_tokens off; autoindex off; include…
Vic
  • 294
  • 4
  • 18
1
vote
0 answers

Should I use mod_fastcgi or mod_fcgid for PHP and Django?

I would like to use FastCGI to host the program, what are the differences between mod_fastcgi and mod_fcgid? How to decide which to use?
Harold Chan
  • 513
  • 1
  • 5
  • 11
1
vote
1 answer

Fresh installation of Trac 1.0.1 refusing to run with FastCGI

I have a freshly installed server running Debian squeeze. I've installed Python 2.6.6 and Trac 1.0.1 using easy_install. Trac runs fine when started using tracd. Now I'm trying to configure lighttpd to run Trac using FastCGI. I'm using the following…
Feuermurmel
  • 161
  • 1
  • 1
  • 9
1
vote
1 answer

fastcgi-mono-server with Nginx is much slower than xsp4

We started testing our MVC4 app on xsp4 server compiled with mono-3.0.3, speed was enough and we decided to set up production fastcgi-mono-server4 (version 2.11.0.0) with nginx (1.2.6-r1). Single query that loads some JSON query took ~200ms on XSP4,…
marxin
  • 111
  • 3
1
vote
1 answer

Nginx and Nagios passing through FastCGI Handler, 403 Error

I'm currently working on the renewal of my Web plateform and switching from Apache to Nginx. So I've to test all our administrative and internal applications before doing it. Well, so far, I didn't face any problems, BUT it would be a little bit too…
Dr I
  • 955
  • 17
  • 33