Questions tagged [fcgi]

53 questions
0
votes
2 answers

fcgi only using one processor?

I'm working on a setup which uses fcgi/nginx. It seems to be running correct (24 children and 500 max requests), except that all of the phpfcgi instances are piling on one core. When I run top, I see 1 core around 3%, the one running the fastcgi…
user47133
0
votes
1 answer

Does PHP ala FCGI use the IIS-AppPool or the FCGI AppPool on IIS6

I've got an IIS6 (win2k3 server) setup using PHP via FCGI (microsofts install this time); and I know FCGI has its own Application pool of sorts; I was wondering therefore if this means that the PHP is isolated from the IIS AppPool?
Chris McKee
  • 3,119
  • 2
  • 19
  • 16
0
votes
1 answer

django fcgi - call a management command with subprocess.Popen

I'm using an app called django-chronograph. It has a code of line which works in my dev environment and does not work in production: p = subprocess.Popen(['python', get_manage_py(), 'run_job', str(self.pk)]) This line crashes in production with:…
Tom
  • 113
  • 1
  • 7
0
votes
1 answer

Mail is not sent via php mail() on CentOS7 DirecAdmin Exim php fcgi

I spent the whole day trying to fix this problem, so I decided to share. Maybe it will save someone time) Problem: Mail is not sent via php mail(); The Exim log shows nothing. System: CentOS7 DirecAdmin with CustomBuild 2.0.0 Exim 4 php fcgi (5.6…
0
votes
0 answers

Issue with VirtualHost settings in Apache2.2 leading to 503 varnish cache error

ServerName staging02.cherry.com ServerAlias www.staging02.cherry.com DocumentRoot /home/staging02/version/www.staging02.cherry.com ServerAdmin webmaster@cherry.ca SetEnv environment prod SetEnv project…
haher
  • 37
  • 4
0
votes
1 answer

Apache not sending headers to PHP over FCGI/PHP-FPM

I have a virtual host configured to process PHP files over Proxy:FCGI, and it works fine, except that PHP is not receiving custom headers and others, like "Origin". Here my Apache 2.4 virtual host: ServerName domain.localhost …
Diogo Braga
  • 381
  • 1
  • 6
  • 16
-1
votes
2 answers

php-cgi dies quietly every few hours in low traffic

php-cgi -v PHP 5.2.11-pl1-gentoo (cgi-fcgi) (built: Dec 21 2009 09:10:29) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies System info dev-lang/php-5.2.11-r1 gentoo 10.1 Update: I'…
Cheng
  • 711
  • 2
  • 9
  • 16
-3
votes
1 answer

How to install multiple PHP versions in Virtualmin 6, Debian 9

By default Debian 9 comes with PHP 7, but I was interested in PHP 5 for older websites as well. I tried following/adapting this guide (not virtualmin specific) https://pehapkari.cz/blog/2017/03/27/multiple-php-versions-the-easy-way/ But this is the…
Hayden Thring
  • 147
  • 14
1 2 3
4