FastCGI is an open interface web servers can use to execute applications in a secure and isolated manner.
2
votes
0answers
165 views
Understanding Nginx try_files and fastcgi_path
I'm trying to convert a very simple .htaccess file to nginx:
Options -Indexes -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
As I read on Google and ...
2
votes
0answers
66 views
Can't make PHP work as FastCGI on Apache and Windows
I'm trying to run PHP as FastCGI with no success.
I made a *.conf file such on mod_fcgid page but without a wrapper script.
Here is my conf:
# php5 as FastCGI executable
FcgidMaxRequestsPerProcess ...
2
votes
0answers
196 views
Serving videos (mod_h264_streaming) using lighttpd with a fastcgi authorizor causing problems
So my goal is to serve streaming video, but only after authentication. Since authentication could use one of many methods, I'm writing a fastcgi authorizer to handle them. Each part (streaming, ...
2
votes
0answers
590 views
php-cgi.exe and/or php5.dll crashing - PHP 5.2.17, Win2k8 & IIS7
A specific part of my PHP script crashes randomly and I'm not sure why. The only difference on this page and the rest of the pages, is that I'm doing a PDO SQLSRV call. But 80% of the time there are ...
1
vote
0answers
46 views
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 ...
1
vote
0answers
29 views
IIS and PHP with FastCGI/WinCache not seeing updated files
We have a script that regularly updates itself on a scheduled task. It downloads a ZIP, then extracts and overwrites a bunch of app files with new ones.
We're seeing many cases on IIS where the ...
1
vote
0answers
101 views
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 ...
1
vote
0answers
65 views
Can lighttpd be configured to spawn it's own instances of PHP on Windows7?
Currently, this is how I start PHP and lighttpd and it works fine:
start /b php-cgi -c .\php-debug.ini -b 127.0.0.1:521
start /b LightTPD.exe
Once and awhile PHP crashes and I get 503 errors ...
1
vote
0answers
116 views
NGinx - PHP / CGI - No input file specified
I know this is a common problem. I googled and tried a lot but still doesn't work. "No input file specified" while calling PHP files from browser. I Installed nginx php/cgi on a fresh debian machine.
...
1
vote
0answers
191 views
Custom php.ini with FastCGI seems to disable APC
I'm testing FastCGI and APC on cPanel server (CentOS 5.8, PHP 5.3.18, Apache 2.2.23). I want to allow users to have a custom php.ini by doing the following:
Copying server's php.ini to user's ...
1
vote
0answers
65 views
timeout with apache & php w/ each virtual host has his own user process
I have 10 unix users in /home/.
Each user is for a specific subdomain for example user www in /home/www/public_html is for www.mywebsite. blog in /home/blog/public_html is for blog.mywebsite.
90% is ...
1
vote
0answers
91 views
Lighttpd with FastCGI configuration running ViewVC - rewrite problems
At the moment I am struggling with the configuration of lighttpd together with ViewVC. The configuration was ported from Apache 2.2.x, which is still running on the machine, serving the WebDAV/SVN ...
1
vote
0answers
272 views
fastcgi cache how-to cache for logged-in users and make it custom for each user
Currently I'm doing cache using fastcgi_cache for non-logged-in users, and using ( if + fastcgi_no_cache + fastcgi_cache_bypass ) to pass logged-in users directly to backend which is PHP-FPM.
this ...
1
vote
0answers
150 views
Slow WordPress with FastCGI
I recently upgraded my Media Temple server to dv4 and enabled FastCGI. I have this issue where the WordPress control panel on my sites goes slow. When I update or publish a post, sometimes it will ...
1
vote
0answers
85 views
Lighttpd + django on gentoo 10 seconds to answer
I want to run a Django site on a lighttpd with fastcgi on a gentoo machine. Everytime I try to access the site I get a response after more or less exactly 10 seconds. Im using a socket to let lighttpd ...
1
vote
0answers
106 views
Configuring FastCGI for mass hosting setup
I'm running a bunch of websites on a server but I'm having memory issues from all the PHP processes. What should I change?
I need to change FcgidProcessLifeTime to say 600 right which means the user ...
1
vote
0answers
245 views
Unreadable error using FCGI
I recently installed mod_fcgi on to Amazon EC2 64bit Linux AMI and using Movable Type 5.13 with it. Here is my error log.
[warn]mod_fcgid: error reading data, FastCGI server closed connection, ...
1
vote
0answers
222 views
django url matching with Lighttpd fastcgi
I have a problem with url.
I can access the djando app home page ( localhost/djangotest/ )
but can't access the admin section ( localhost/djangotest/admin/ ).
I can access it using the django server ...
1
vote
0answers
160 views
lighttpd + php-cgi: Memory increase crazily if there's syntax error in the php file
I use lighttpd as the webserver, and module mod_fastcgi is on. So I can fetch php file with lighttpd.
Here is a segment of my configure file.
fastcgi.server =(
".php"=>
(
(
...
1
vote
0answers
174 views
django, fastcgi, throws random 404 errors
I have a django website deployed on a shared webhost. The shared webhost uses fastcgi.
I'm noticing that valid urls will randomly throw up http404 but as soon as I refresh will work again.
does anyone ...
1
vote
0answers
348 views
After a PHP crash IIS 7.5 stops responding requests until the whole service is restarted
I have a standard PHP5.3 install under w2k8r2/IIS7.5 (with and without WinCache as I've tried both options).
The events happens as follows:
1) I get an error on the Application event log that says:
...
1
vote
0answers
559 views
FastCGI connection refused on port 9000
I have a site running PHP 5.3.2 + PHP-FPM and Nginx 0.7.65 and rebooted the server after changing the root password. The web server starts up fine, but the site doesn't come up and the only clue I ...
1
vote
0answers
99 views
User Process Tracking, what is this? Numerous alerts with FastCGI
I have a CentOS VPS on Knownhost.com. I am using it to host one Wordpress site, that currently doesn't have any traffic (not launched yet). I was getting these process tracking emails (7 different ...
1
vote
0answers
475 views
lighttpd + FastCGI + Mono not working with evhost enabled
I've started the migration of a Windows VPS to linode.com, choosing lighttpd over nginx and apache to host some sites built on asp.net mvc, and I'm stuck with what I think is a "document-root" ...
1
vote
0answers
78 views
Build apache with fastcgi (as static linked module)
I've downloaded apache source and FastCGI source.
Now, I wish to add FastCGI as a static module to apache (NOT DSO).
I've read the installation guide @ svn.apache.org, but still couldn't make it work. ...
1
vote
0answers
98 views
Cannot set Cherokee FastCGI to Mono
I used this as information source:
/usr/bin/fastcgi-mono-server2 --socket=tcp --address=127.0.0.1 --port=39893 --applications=/:/var/www
Put extension to *.aspx and made one index.aspx file in ...
0
votes
0answers
43 views
How do I enable PHP FastCGI for apache on debian squeeze?
I would like to enable FastCGI on my server to enable PHP slow logging.
I installed it so far after this tutorial:
How To Set Up Apache2 With mod_fcgid And PHP5 On Debian Squeeze.
But since I have ...
0
votes
0answers
27 views
Mono FastCGI takes forever to process requests with lighttpd
Alright, for some reason I've decided to try and get ASP.NET working on OpenBSD, because why not? I've settled on lighttpd as I really mucked up nginx bad and they don't ship mod_mono for Apache ...
0
votes
0answers
17 views
Setting up FastCGI with Cherokee, Nginx or Apache on Debian
EDIT: Already solved it myself. Went with Apache2 instead, and as much as I loathe it, at least it works
I've been stumped on this all morning and I'm about to give up in frustration. Searching on ...
0
votes
0answers
35 views
FastCGI: …terminated by calling exit with status '0'
I would really appreciate some insights into this.
We run relatively popular website, which is cloned on two servers. On server1 everything runs smooth. On server2, however, it does not. Server2 will ...
0
votes
0answers
16 views
Deploying a FastCGI application
I'm trying to deploy my Wt application with Apache and FastCGI.
Here's my config file:
<IfModule mod_fcgid.c>
NameVirtualHost *:9091
<VirtualHost *:9091>
DocumentRoot ...
0
votes
0answers
53 views
PHP on Apache + FastCGI with multiple file extensions
Following the php documentation, I've set up PHP to work with Apache2+FastCGI with the following configuration (in httpd.conf):
LoadModule fcgid_module modules/mod_fcgid.so
FcgidInitialEnv PHPRC ...
0
votes
0answers
17 views
FastCGI PHP + Apache accepts any file/directory as valid if it follows php extension
I am facing a strange problem.
On my WHM/Cpanal server (Apache 2.2 MPM with FastCGI PHP 5.3+Xcache) any url that ends with php followed by anything random works. For example:
...
0
votes
0answers
114 views
Apache mpm-worker, mod_fcgid, OpenX - high load and Error 500
since a few Days we get an 500 Error from Apache. In the error-log from Apache I found the following lines, but I have no idea where the problem is.
[Tue Mar 19 13:11:53 2013] [warn] [client ...
0
votes
0answers
73 views
Configuring Lighttpd for running silex
I'm trying to get the php-microframework Silex up and running with lighty (local installation for debugging) on my ubuntu machine.
The phpinfo() gets processed properly by the webserver.
Here is my ...
0
votes
0answers
95 views
File upload from Android browser to php/fcgi fails on bigger files
When I upload files to my site (centos/apache/php/fcgi) using the stock Android browser, it fails with a 500 error, in the Apache log :
(70014)End of file found: mod_fcgid: can't get data from http ...
0
votes
0answers
54 views
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?
0
votes
0answers
22 views
MediaTemple DV 4 FastCGI init script seems to start FASTCGI but PHP not working
I am attempting to follow the instructions found here to create an init script for FASTCGI on my mediatemple dv4. When I run it it seems to be up and running and listening on Port 9000. However, ...
0
votes
0answers
104 views
502 Error Nginx+Django(via FastCGI and a unix socket)
I keep getting a 502 - Bad Gateway Error whenever I try to access a Django page.
What is the best way to resolve this?
I have it working using the loopback method(127.0.0.1 as host on port 8080) ...
0
votes
0answers
68 views
Read raw POST stream in nginx
I want to capture the raw POST stream in PHP via nginx and fastCGI. In Apache with mod_php I could add a SetEnvIf rule to replace the multipart header which would allow me to open php://input and read ...
0
votes
0answers
27 views
nginx fastcgi_cache_key equivalent for apache 2.2?
I'm using apache 2.2 mod_disk_cache. To improve cache hit rate, I want to define the cache key (instead of relying on how the query string was passed in by the client)
This is done nicely in nginx ...
0
votes
0answers
111 views
iis php internal server error
I developed a website, using php/mysql running at IIS Server as CGI Server API.
Suddenly it gives me error 500 after two weeks. It has lot of scripts but index.php home is working. But other script ...
0
votes
0answers
74 views
How should I configure mod_fcgid to not timeout when streaming arbitrarily long MJPEG stream?
I've written a FastCGI application which fetches images from an IP camera's MJPEG stream and then outputs them with the MIME type multipart/x-mixed-replace. My intent is to provide a user the ability ...
0
votes
0answers
92 views
Fast CGI error when restarting apache
I've rented a VM with ubuntu with apache and ispconfig3. I need to restart apache, but i get the following error message when i do
Syntax error on line 3 of /etc/apache2/mods-enabled/fastcgi.conf:
...
0
votes
0answers
370 views
nginx error: *513 upstream timed out (110: Connection timed out) while connecting to upstream
Its seems to be a fastcgi error:
root@server:/etc/nginx# tail /var/log/nginx/error.log
2012/06/28 13:25:14 [error] 6081#0: *513 upstream timed out (110: Connection timed out) while connecting to ...
0
votes
0answers
115 views
php handler as cgi/suexec
in my phpinfo it is showing php handler as cgi/fastcgi but i want to change it to cgi/suexec.
i tried from whm php and suexec configuration and i found that suphp is default php haldler then why ...
0
votes
0answers
122 views
After Switching from Apache to Nginx, HTML Truncated
Our site was running fine with Apache, but I am switching us over to Nginx (with php-fastcgi) to be more scalable.
Everything is working fine except our HTML gets truncated sometimes (usually on ...
0
votes
0answers
114 views
django, fastcgi -> runfastcgi config / parameters
am running django on a shared host. I've been getting random "fake" 404 errors as described here:
django, fastcgi, throws random 404 errors
...
0
votes
0answers
373 views
Redmine + Lighttpd + FCGI: Homepage not Working
I have installed a Redmine 1.4 in /usr/share/redmine on a Debian Linux. Im running a lighttd with fastcgi to serve redmine. This is the lighttpd config:
server.modules = (
"mod_access",
...
0
votes
0answers
58 views
Request timeouts but server load is almost zero
I have a dedicated server with several virtual hosts on it (CentosOS 5). Most of content is served via lighttpd and just some via apache. The problem is that, while apache is working perfectly well, ...
