Questions tagged [fcgi]

53 questions
0
votes
1 answer

Serving a git repository with nginx fails with 403 Forbidden

I made a user git and placed an empty bare repository in his home directory /home/git: $ git init --bare test.git $ ls -l drwxr-xr-x 7 git git 4.0K Jul 18 12:51 test.git I want this repository to be accessible as example.com/repos/test.git. To…
liszt
  • 151
  • 1
  • 7
0
votes
1 answer

suexec AP_DOC_ROOT Path on gentoo

after a few years running php as mod_php I want to move to fcgi. On my server I run currently gentoo linux. I allready set up php als fcgi and everything is working. But there is one problem. I have to change the path of the AP_DOC_ROOT from…
user39063
  • 121
  • 3
0
votes
0 answers

PHP-FPM Stuck & High IO

Actually on my mutual hosting server I'm using PHP 5.6.3 with one pool. Sometimes, my php-fpm process is stuck with 50% of WA and I can't kill it, I can't even restart my VM. I'm using 245MB/3968MB, my swap is not used. For now I have no clue,…
Maxence
  • 197
  • 1
  • 1
  • 12
0
votes
1 answer

fastcgi_pass directory not available on Apache + Nginx, how to find it?

I have a CentOS, Apache and Nginx installation. It uses php 5 handler as fcgi. This server uses WHM cpanel and easyapache. fcgi apply by using easyapache. These installation done by my hosting company. When I'm adding following code to Nginx vhost…
MaxBro57
  • 37
  • 7
0
votes
0 answers

Apache, FCGI, and Java setup

I have a Java program that I'm trying to access through my Apache 2.4.7 webserver locally. At first I had it set up as a reverse proxy using mod_proxy_fcgi whereby I would have to start the webserver with the configuration (1), start the java…
Cobertos
  • 101
  • 3
0
votes
1 answer

lighttpd How to allow executing fcgi programs on www folder?

This is the first time I install lighttpd and I'm having a hard time configuring fcgi to work on /var/www/site/ I keep getting 403 Forbidden and so far have only found guides specific to php or that use workarounds. What is the proper way to get…
2013Asker
  • 101
  • 1
0
votes
2 answers

FCGI and upload_tmp_dir PHP directive are not working correctly

I run PHP as FCGI! I'm setting upload_tmp_dir option as value /home/domain.com/tmp. When executed phpinfo() for double-check it's confirmed that the settings above are correct. Nevertheless, when actual upload in happening, the uploading file is…
Ilia
  • 1,004
  • 1
  • 10
  • 19
0
votes
2 answers

Slow PHP Page Load on IIS7 until AppPool is Recycled

Using PHP 5.3.13 and MySQL 5.5.25 on Server 2008 R2 (IIS 7.5). I have a PHP page that pull some info from MySQL and outputs some XML. The page works fine, and takes about 5 seconds to load a very small array when the server is first booted…
JuanValdez
  • 21
  • 5
0
votes
1 answer

Compiling FastCGIWrap fails on slackware (nginx cgi support)

I'm currently trying to get nginx to work with cgit which uses cgi. I know nginx doesn't support cgi directly but it appears you can support it indirectly via FastCGIWrap. The link above is pretty self explanatory but I'm having a problem with…
tftd
  • 1,480
  • 7
  • 24
  • 38
0
votes
2 answers

Server optimization for WP on Dreamhost VPS: mod_php + xcache? FCGI?

I'm trying to optimally configure mbird.com, a WP driven site, from use on my new VPS. On this page: http://wiki.dreamhost.com/PS_Optimization - under "WordPress optimization" I see a couple pieces of advice. 1) "If all domains are set to use FCGI…
two7s_clash
  • 215
  • 4
  • 14
0
votes
4 answers

php script 500 error

I have a php sript with a simple mysql SELECT query which fetches more than 1000 rows from the database... It gives a 500 internal server error many times when I have a large number of rows to fetch.. The same script works fine when I run it from…
0
votes
1 answer

Change location of error_log for userdir + suphp

I have needed to duplicate a FastCGI + suPHP, and I have re-created the setup but unlike the CentOS one my error_log files are all in /log/apache/ instead of the directories where the script triggered the error. How do I configure PHP to write all…
Kristopher Ives
  • 364
  • 1
  • 3
  • 13
0
votes
1 answer

Why is lighttpd and fastcgi keeping sending me the *.scgi file instead of the website content?

I have the following config: server.modules = ( "mod_compress", "mod_access", "mod_alias", "mod_rewrite", "mod_redirect", "mod_secdownload", "mod_h264_streaming", "mod_flv_streaming", "mod_accesslog", "mod_auth", …
e-satis
  • 409
  • 5
  • 17
0
votes
3 answers

socket() failed: No buffer space available while connecting to upstream

On my ubuntu 10.04 VPS, I get a regular 500 error on nginx (0.7.??)+ fcgi web server running a durpal site and when I trace the nginx error log I see plenty of these: socket() failed: No buffer space available) while connecting to upstream…
alfish
  • 3,027
  • 15
  • 45
  • 68
0
votes
2 answers

run django with fcgi on windows

I'm running Django on Windows under Apache using mod_wsgi, and I think the multi-threaded nature of this setup is causing contention for the Python GIL. I'd like to try running my system under FCGI (so I could get multiple processes), but that…
Chris Curvey
  • 359
  • 1
  • 2
  • 8