Questions tagged [fastcgi]
The fastcgi tag has no usage guidance.
24
questions
0
votes
0
answers
83
views
Activating php-fpm on apache2 Ubuntu 20
I've recently installed FPM on our server but for some reason cant get it to activate on the server API.
When I check the status of php7.4-fpm it is active and running.
I followed the notice ...
1
vote
2
answers
66
views
Asynchronous Child Process in FastCGI Script
Suppose that I want my server to sleep on any HTTP request to the path /sleep (i.e. http://hostname/sleep), but also send a complete response (HTTP 200) before sleeping.
Using nginx with FastCGI, I ...
3
votes
1
answer
694
views
problem with default fcgiwrap socket access rights and nginx (Alpine Linux)
I want to run git-daemon (git-http-backend) in Alpine Linux using nginx and fcgiwrap. However, the default installation of nginx and fcgiwrap leads to a 502 Bad Gateway error. Apparently the group ...
0
votes
0
answers
39
views
Can not access PHP-FPM site
Using OpenSUSE v15.2, Apache.
Installed PHP-FPM with zypper.
Followed instructions on this site:
https://en.opensuse.org/SDB:Apache_FastCGI_and_PHP-FPM_configuration
I restarted Apache and PHP-FPM.
...
1
vote
1
answer
327
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
0
answers
78
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$"&...
2
votes
1
answer
339
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
2
answers
3k
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
1
answer
124
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
0
answers
660
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
1
answer
239
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
2
answers
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
1
answer
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
1
answer
481
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
1
answer
706
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
2
answers
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
0
answers
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
0
answers
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
0
answers
832
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
1
answer
651
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
1
answer
878
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
4
answers
21k
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- ...
28
votes
9
answers
50k
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
3
answers
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/...