Questions tagged [mod-fastcgi]

56 questions
1
vote
1 answer

Apache + PHP via FastCGI

I'm running into some problems while attempting to run PHP via FastCGI in Apache. I have the FastCGI module loaded, but get the following error when attempting to load a page: The requested URL /fastcgi/php54.fcgi/index.php was not found on this…
Wilco
  • 355
  • 5
  • 17
1
vote
7 answers

mod_fastcgi installation error

I've compiled Apache 2.4.2 successfully, but I'm facing an error while trying to compile mod_fastcgi module. Any tips? root@local:/usr/src/libapache-mod-fastcgi# /usr/local/apache2/bin/apxs -o mod_fastcgi.so -c *.c /usr/local/apr/build-1/libtool…
Jari V.
  • 13
  • 1
  • 3
1
vote
1 answer

trying to "setup apache fastcgi"

my system is: wx3# uname -a FreeBSD wx3 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 wx3# packages installed: wx3# pkg_info | grep -Ei…
alexus
  • 12,342
  • 27
  • 115
  • 173
1
vote
1 answer

What's the difference between FastCGI "static" and "dynamic" applications in terms of performance and stability?

I'll like to know what are the things to consider when choosing between configuring an app as static or as dynamic in an Apache 2 server that uses mod_fastcgi. The app is a typical reporting app written in Perl with MySQL as the Db backend with…
GeneQ
  • 407
  • 2
  • 8
  • 17
1
vote
1 answer

Make PHP FastCGI process write to a specific error log?

I have a server running Lighttpd with three user's serving domains from it. Each user gets their own PHP FastCGI process for serving PHP content across all of their domains. Lighttpd allows me to write the access log files for each domain to unique…
James Sumners
  • 493
  • 3
  • 7
  • 17
1
vote
2 answers

Virtualmin: "PHP execution via fcgid requires the Apache mod_fcgid module"

I have a CentOS server with Virtualmin on it. I have configured PHP the way I want it, using Apache mod_fastcgi. However, when I click "Re-check Config" in Virtualmin, I get PHP execution via fcgid requires the Apache mod_fcgid module This post says…
Josh
  • 9,001
  • 27
  • 78
  • 124
0
votes
1 answer

Can't get PHP-FPM working so that multiple versions of php can be used

Server runs CentOs 6.10 Need to use php5 for some websites and php7 for others on the same server so I used the remi repository and enabled the php versions needed. I've uninstalled mod_php and installed php-fpm and mod_fcgid. In…
zigojacko
  • 1,433
  • 2
  • 12
  • 25
0
votes
1 answer

Lighttpd stop responding to php calls

I am running 2 servers with Lighttpd 1.4.45 with fastcgi and php 5.6 on gentoo linux. We have a problem in both servers that about twice a day the Lighttpd stop responding to php calls, only restart of Lighttpd makes it operational again. There is…
0
votes
1 answer

Why does my migrated apache2-fastcgi-django solution give me 'AH01630: client denied by server configuration'?

I have a solution to run a Django (1.3.1 on Python 2.7) site which is working on an old server. I'm trying to migrate this to a new server but I'm encountering the following error when I try to access the page (which says it's forbidden in the…
Jon Cage
  • 329
  • 1
  • 3
  • 12
0
votes
1 answer

Directory structure with php-fpm

What's the best directory structure (aka "where to put websites html files") when php-fpm is running? Actually I have one user per website (so for example there is the website example.com and the user example). Should I put the html files…
0
votes
1 answer

How can I get apache to only pass through to fastcgi on .php files?

We're running a different version of PHP for one of the sites, so we've configured fastcgi. But requests to any files, even static css and js is being passed through. How can we limit it to php only? This is the current configuration:
Kit Sunde
  • 946
  • 3
  • 12
  • 31
0
votes
1 answer

How to configure Apache to use mod_fastcgi and php-fpm?

Now I am running Apache to serve php files using mod_php. Will I get a performance enhancement while running PHP in fastcgi mode? There are two virtualhosts on this server for now. I followed this tutorial that I made by referring three different…
melvincv
  • 111
  • 4
0
votes
1 answer

installed libapache2-mod_fastcgi on debian 7 - no php5-fcgi file

So I install Apache2 worker with libapache2-mod-fastcgi (non-free) on my Debian server. I found this snippet from the web, however, I don't have anything in my /usr/lib/cgi-bin/ folder. So how is my php working when I view phpinfo() ???
ggstevens
  • 66
  • 3
0
votes
2 answers

Setting up HHVM for apache2.2 with mod fastcgi in a virtual host

I want to setup a virtualhost running HHVM to try out the new "Facebook Hack" language. I followed the instructions here on Apache 2.2: https://github.com/facebook/hhvm/wiki/FastCGI currently hhvm is running like this: hhvm -m s…
timing
  • 111
  • 1
  • 5
0
votes
1 answer

mod_fastcgi not working with and php-fpm

In the primary httpd.conf file I have the following for loading the fastcgi module: LoadModule fastcgi_module modules/mod_fastcgi.so In a different file for vhosts I have the following: ServerName some_ip.local …
user101130