Questions tagged [fastcgi]

FastCGI is an open interface web servers can use to execute applications in a secure and isolated manner.

FastCGI is an open interface web servers can use to run applications as separate isolated processes. It is an enhancement of the original NCSA CGI interface specification, with a range of improvements. The primary improvement over the standard CGI approach offered by FastCGI is performance, hence the name.

FastCGI is supported by a broad range of Web Servers (such as Apache, nginx, lighttpd).

730 questions
0
votes
1 answer

FastCGI on Windows (Wordpress): Stopped and Started FastCGI server returns 500

Our wordpress server on windows was having a high CPU usage, so I went into IIS, right-clicked on Fast CGI Setting and clicked "Stop". CPU usage went way down. Yay! But the wordpress site returned 500 error. I Right-clicked it again and clicked…
0
votes
1 answer

Nginx Primary script unknown (fastcgi_param + alias)

I'm using Laravel in a serverblock and I'd like to create an alias, for example /webmail. This results in an nginx "Primary script unknown" error. I think I need to change my fastcgi_param. Can anyone help me? Below is the important part about my…
Patrick
  • 71
  • 8
0
votes
0 answers

nginx server root returns 404 on port 80

My server only returns a 404 error, regardless of the configuration that I do. File /etc/nginx/sites-available/name.​net: server { listen 80; listen [::]:80; root /home/name/public_html; index index.php…
Danilo D
  • 113
  • 6
0
votes
1 answer

Configuring Jetty for FastCGI has worked, but how to add virtual hosts?

On CentOS 7 Linux I have successfully followed the guide Configuring Jetty for FastCGI. However the $JETTY_BASE/webapps/jetty-wordpress.xml file in the guide serves a single Wordpress installation located in /var/www/wordpress:
Alexander Farber
  • 714
  • 4
  • 17
  • 38
0
votes
1 answer

Opensuse Leap 42.1: xsp & fast-mono-server problems

I have recently upgraded my opensuse machine from 12.2 to Leap 42.1 (x86_64). It's mostly going well. However, I installed mono & xsp via yast (KDE) and I have found that both xsp & fastcgi-mono-server4 are unwell. If I ask these modules (mono, xsp…
0
votes
1 answer

Cannot get php5-fpm to work on Ubuntu 14.04 with Apache 2.4.7

I have been trying for two days now to upgrade my regular LAMP stack to use php5-fpm and event-mpm, but it just doesn't want to work! At this point seems like I've tried everything to make it work, but to no avail. Apache2 and php5-fpm both seem to…
Swen
  • 105
  • 4
0
votes
0 answers

Unable to get Nginx/Apache + FastCGI + PHP-FPM + HTTP/1.0 to use Keep-Alive

For a reason beyond my control (an app that cannot be modified), I need to get a server that processes HTTP requests for PHP pages over FastCGI, to honour "Connection: Keep-alive" (sent by said client) with a request also declared as…
Shimi
  • 116
  • 2
0
votes
2 answers

nginx+fastcgi+php-fpm step from standard config = 404

I want to work simple url like http://host/test.php, note there are no trailing / at the end. I start from standard config from nginx site + serverfault: location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^((?U).+\.php)(.*)$; …
fghj
  • 196
  • 2
  • 8
0
votes
1 answer

Setting up nginx and php-fpm on CentOS 7 - which config file do I alter? I'm so lost

I'm intermediate with Ubuntu and Apache, but a total noob to CentOS. I want to setup a 1 CPU 1 GB RAM test VPS for a phpbb 3.1 forum, and I'm following this tutorial: How To Install Linux, Nginx, MySQL, PHP (LEMP) stack On CentOS 7 Most of it is…
jreed121
  • 129
  • 2
  • 8
0
votes
2 answers

Error with apache 2.4 and PHP 5.6.14-0+deb8u1 With fpm

I have a Vagrant machine with: Apache/2.4.10 (Debian) PHP 5.6.14-0+deb8u1 and PHP-FPM. In some case I get this error: 500 Internal Server Error. And I have this in message in php5-fpm.log [09-Dec-2015 20:01:24] WARNING: [pool www] child 608…
Oskar Calvo
  • 103
  • 5
0
votes
1 answer

Apache's mod_cache not caching FCGI PHP output

I have a very simple PHP script to test my mod_cache setup. However, it's not working -- I can tell by both the 5 second delay when waiting for the page to load as well as the date printed.
Josh
  • 9,190
  • 28
  • 80
  • 128
0
votes
1 answer

nginx makes /dev/root full

On my server, /dev/root is getting full very fast after each reboot: a munin graph showing it if i type sudo lsof | grep "deleted" i get: nginx 6012 www-data 44u REG 9,1 5917025 264136…
hedi
  • 101
  • 3
0
votes
1 answer

Nginx Subdomain using FastCGI-Mono-Server4

I have 1 subdomain in addition to the main website, all running on nginx + fastcgi-mono-server4. PROBLEM: I have to make the subdomain use a different port (port 81) for all the .conf/.webapp files or else when i visit subdomain.example.com, it…
invulnarable27
  • 183
  • 1
  • 3
  • 8
0
votes
1 answer

WordPress in sub-directory is serving root index.php on nginx fastcgi

I am encountering a weird problem on my NGINX server. As explained in the Codex I moved wordpress from my root directory to a subdirectory /blog/. It shows the blog index successfully, but if I want to show anything else, like a specific post or…
Snowball
  • 181
  • 1
  • 8
0
votes
3 answers

Increasing FcgidMaxProcesses does not help to solve "mod_fcgid: can't apply process slot" error

I have a dedicated apache server with high resources. RAM - 64GB Cores - 20 with CentOS 6.7 x64 and Image - FCGI statistics with phpinfo I run Magento application with MySQL as database engine which is also deployed on a separate highly…
Munjpara
  • 35
  • 1
  • 1
  • 5