Questions tagged [mod-fastcgi]

mod-fastcgi is an Apache module providing support for the FastCGI protocol.

mod-fastcgi is an Apache module providing support for the FastCGI protocol.

http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html

72 questions
2
votes
1 answer

mod_fcgid read timeout from pipe, end of script output before headers, multiple versions of PHP

I've set up several version of PHP under Apache on Windows using mod_fcgid. The configuration is like this: LoadModule fcgid_module modules/mod_fcgid.so FcgidInitialEnv SystemRoot "C:/Windows" FcgidInitialEnv SystemDrive "C:" FcgidInitialEnv TEMP…
astax
  • 1,769
  • 1
  • 14
  • 23
2
votes
0 answers

FastCGI Post (UTF8)

I want to send a POST request and data to be displayed on the page (as in the example below) What changes should be made to support special characters and UTF-8? char *get_post_body() { char *content_length = getenv("CONTENT_LENGTH"); …
Valy Dvweb
  • 35
  • 8
2
votes
1 answer

Perl Dancer2 Deployment with FastCGI + Apache2.4 on Windows 7

I am a newbie and am in process of deploying a quick App using Strawberry Perl v5.20 Dancer2 framework on Windows 7 64-bit. C:\xampp\apache\bin>httpd.exe -v Server version: Apache/2.4.17 (Win32) Apache Lounge VC11 Server built: Oct 13 2015…
2
votes
1 answer

URL rewrites with php5-fpm on apache2

i want to use URL rewrites with PHP5.6-FPM on Apache2.2.22 (Debian 7) but i wont work. If i activate the URL rewrites via .htaccess file my server throws a 500 error (Request exceeded the limit of 10 internal redirects due to probable configuration…
owned139
  • 101
  • 6
2
votes
1 answer

How to setup php-fpm on CentOS 7?

There are a lot of guides out there about setup php-fpm for Apache on CentOS 5x or 6x but none of them are working on Centos 7. I searched for days but can't find any solution. yum install php-fpm This command succesfully working. But then i stuck…
fozuse
  • 754
  • 2
  • 11
  • 29
2
votes
2 answers

Apache 2.2 PHP-FPM, php files receiving 403 forbidden in browser

I'm trying to switch php from fcgid to fpm. I've googled this to great end, and while there are issues that look the same, I still can't resolve it. I'm running CentOS 6.5, Apache 2.2, PHP 5.4. I installed mod_fastcgi and php-fpm. PHP is working…
Liam
  • 332
  • 3
  • 7
2
votes
1 answer

CakePHP 2.4 Apache 2.2 and PHP-FPM

I'm trying to get a basic CakePHP 2.4 app setup with Apache 2.2 and PHP-FPM mod_fcgi setup and I'm running into internal redirect issues that I can't seem to figure out. The apache has nothing but the required modules loaded and basic…
carcus88
  • 137
  • 1
  • 7
1
vote
1 answer

Django and fcgi and mod_fcgid errors

Ok I'm exhausted with this problem on my shared server at Bluehost and I haven't been able to find any ideas. I've uploaded my app and everything appears to be working fine except for one thing, the photo uploader that I'm using (which is the core…
Fernker
  • 2,238
  • 20
  • 31
1
vote
2 answers

site not loading after enabling fastcgi in joomla

I am developed one joomla site.It was working good.But site is not loading after enable the FastCGI.I don't understand what the problem is ! Simply it just shows some content only.What is problem ? I have red some doc in joomla doc about this…
ram.info24
  • 151
  • 1
  • 1
  • 8
1
vote
1 answer

Debugging python with mod_fastcgi

I running apache with mod_fastcgi to run python scripts (using Ubuntu OS). How can I debug python with fastcgi? I put a pdb.set_trace() call in my script, but when loading the page in a browser nothing happens in the console from which I ran the…
Meir
  • 205
  • 3
  • 8
1
vote
1 answer

How do I process HTML files as PHP on AWS EC2 Linux?

I'm trying to move over to AWS EC2 and I've hit a sticking point. I've spent a full day trying every possible solution I could find on Stack Overflow and elsewhere, but to no avail. I want to process .htm files as PHP files. Files ending in .php are…
Shane Pike
  • 159
  • 1
  • 8
1
vote
1 answer

Django, lighttpd, FastCGI -- can't get it to work

OK, so I'm having issues trying to run Django on lighttpd with FastCGI. I've followed the instructions here, but still can't get it to work, and am not sure what the problem is. The django project does work when running with runserver. So, I start…
Casey Marshall
  • 934
  • 7
  • 13
1
vote
1 answer

FastCGI Error in MAMP Pro When Uploading Files In Craft CMS

I get errors when trying to upload files to a local install of a Craft CMS site i run through MAMP Pro v 4.0.5. The ajax call to upload returns a 500 error code, and the apache log has the following: [Mon Oct 10 08:22:47 2016] [error] [client ::1]…
bhu Boue vidya
  • 379
  • 6
  • 16
1
vote
0 answers

Apache 2.2 + mod_fastcgi +php-fpm on Debian 6, Error 404 handling

I have a setup with above mentioned. All works fine except for a one problem, for missing .php files I always get a blank page with 'File not found' message(btw with 404 status code). I have ErrorDocument 404 line in my vhost, but looks like it…
1
vote
2 answers

How can I show a maintenance page when my FastCGI app is restarting?

I am serving my FastCGI application in Apache2 using the standalone FastCGI server and the FastCgiExternalServer directive. When I restart my FastCGI app my users get a 500 error. What can I do to prevent this? I want to show them a nice…
cubabit
  • 2,527
  • 3
  • 21
  • 34