Questions tagged [fastcgi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
8 views

fastcgi php nginx errorlog messed up

I have a strange problem, the errorlog of my nginx server is somehow messed up: PHP errors seem to be all written in one line and repeating itself recursively. This way the llog grows a few GB within ...
0
votes
0answers
26 views

If “-f %{REQUEST_FILENAME}” what mean's - fcgi

I configures my apache + php-fpm + mod_proxy_fcgi server and I can't understand the line in the two tutorials that don't explain why. This is not found in any other tutorial. <FilesMatch "\.php$"&...
0
votes
0answers
102 views

Nginx FastCGI cache Error (Not Disable cache)

I have enabled caching for the entire site except for certain pages. But disabling fastcgi_cache caching does not work for /login/index.php or /login. My Cms Opencart 2.3 set $no_cache 0; ...
2
votes
1answer
323 views

Nginx version agnostic php-fpm configuration

When I create a new webapp conf in Nginx I use the following template: server { root /var/www/html/${domain}; server_name ${domain} www.${domain}; location ~* \.(jpg|jpeg|png|gif|ico|css|...
2
votes
2answers
2k views

Nginx on FreeBSD: fcgiwrap.sock permission denied

I'm trying to setup nginx and cgit on FreeBSD but nginx can't access /var/run/fcgiwrap/fcgiwrap.sock. In my /etc/rc.conf I already set fcgiwrap_user="www", and www is also the user nginx runs as. ...
1
vote
1answer
109 views

Building dynamically driven web sites with Mason (Perl) with httpd on OpenBSD current

Is it possible to build dynamically driven web sites with Mason (Perl) with httpd on OpenBSD current? See The Mason Book and the introduction to OpenBSD's httpd.
2
votes
0answers
586 views

Nginx & FastCGI Buffering

I want to ask few questions regarding nginx and fastcgi buffering that i can't find an answer for. 1) Is the fastcgi_buffering values / request or for entire nginx? 2) Assuming that i want to have ...
0
votes
1answer
226 views

What Are The Advantages of Using A Dedicated Web Server? [closed]

To elaborate, what are the advantages of using a dedicated web server (i.e. lighttpd or nginx) and running programs (i.e. Swift / Python) as directed by the web server? Specifically, how does that ...
1
vote
2answers
2k views

Can't get Perl FastCGI script to run on Apache Server: Error 500

I'm trying to run an Apache server that executes some scripts over fast CGI, but I can't figure out for the life of me how to actually get it to work. My problem in particular is the "Error 500: End ...
1
vote
1answer
2k views

How to configure which user fcgiwrap runs as on FreeBSD?

I have Redmine/Git/nginx/fcgiwrap running in a jail on FreeBSD 9.3 for (potentially) authenticated Git commits over HTTP/S. Everything works until I restart the jail. In order for a commit to work I ...
0
votes
1answer
380 views

lighttpd2 and php under fast-cgi returns 403 “Permission denied”

lighttpd2 is under development but it's faar enough to where i want to start using it. I've overcome the hurdle of installing it and getting vhost etc working. PHP 5.6.6 (cgi-fcgi) (built: Feb 20 ...
1
vote
1answer
656 views

goaccess won't run when called from CGI script

I'm trying to make a CGI script (for nginx) that outputs an html page containing the usage statistics for my server. I'm using goaccess 0.7.1 and CentOS 5 x86. I've configured nginx to run my bash ...
1
vote
2answers
3k views

PHP+FastCGI+nginx on Debian

I new with Debian. I want to use php on Debian. I do: apt-get install php5-cli php5-cgi spawn-fcgi Create file /usr/bin/php-fastcgi: #! /bin/sh PHP_FCGI_CHILDREN=3 PHP_FCGI_MAX_REQUESTS=1000 exec /...
1
vote
0answers
1k views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 I built mod_fcgid from source, put it into the /etc/httpd/...
1
vote
0answers
104 views

How do I fix my FastCGI Pinax / Django deployment?

I'm running OSX Lion (posted here because this is a Unix-specific question), and am trying to deploy a Pinax project via FCGI. I have the FastCGI daemon running: $ ps wwaux | grep fcgi jonathan ...
2
votes
0answers
829 views

proper permissions under HTTP root with Apache2 + FastCGI + Suexec [closed]

I currently have a setup which runs Apache2 + FastCGI PHP + Suexec. As an example, I'm using /mnt/data/www/vhosts/inflex.co.uk/htdocs as a DocRoot for one of my virtual hosts. I have a script /mnt/...
0
votes
1answer
634 views

lighttpd fastcgi with python and php on the same virtual host

I have a python application running on the server, which should process any urls except /wiki. The /wiki url should show a php application. My virtual host looks like this: $HTTP["host"] == "domain....
0
votes
1answer
866 views

Init Script initializing daemonized process, but won't return [ok]

I'm new to init scripts, but the one I'm using I've copied almost verbatim (I did have to change a few things around from the source I found to work with Fedora). The daemon initializes fastcgi just ...
0
votes
4answers
20k views

permission error with php/nginx and not using www-data

-edit- whats even more curious is if I chmod 777 /var/run/php-fastcgi/php-fastcgi.socket this works. If it's not www-data, php-www (nor root) then what user is trying to access the socket :| -edit2- ...
24
votes
9answers
45k views

Ensure a process is always running

I started hosting sites a while back using Cherokee. For external sources (FastCGI, etc) it has an option to launch the process if it can't find one running on the designated socket or port. This is ...
10
votes
3answers
1k views

FastCGI library for C#/Mono

I'd like to write a couple of fastcgi applications in c#. I know that Mono can run ASP.NET on fastcgi enabled web servers, but that is not what I need. Is there any FastCGI library working for .NET/...