how to configure mod_fcgid
Posted by: zakaria (159.15.67.---)
Date: July 20, 2012 01:16PM

Hi, i have windows 7 32, and i'm using wampserver 2.2E :

Apache Version :
2.2.9

PHP Version :
5.4.3

MySQL Version :
5.5.24

i'm struggling for nearly 2 weeks to find out how to install and configure FASTCGI module with NGINX httpserver, but without results.

all docs i found about Linux or something else but not windows.

i will appreciate any help.

thanks

Options: ReplyQuote
Re: how to configure mod_fcgid
Posted by: stevenmartin99 (Moderator)
Date: July 20, 2012 02:54PM

Wamp or nginx?

U can't install fast cgi in wamp

U can only install it in NTS Versions

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: how to configure mod_fcgid
Posted by: zakaria (159.15.67.---)
Date: July 20, 2012 03:29PM

Hi, thanks for your reply

i'm talking about NGINX as a server like APACHE and IIS 7, forget NGINX for the moment.

what do you mean by NTS versions?

You can run PHP as a handler, as a CGI, or under FastCGI

I don't see any relation between wampserver and configuring php and

apache to make it running from HANDLER server API to FastCGI

Options: ReplyQuote
Re: how to configure mod_fcgid
Posted by: stevenmartin99 (Moderator)
Date: July 20, 2012 04:27PM

I dunno why you wrote I installed wamp .....


But no you can't run php TS under fast cgi, it must be NTS.


And wamp only comes with php TS



Also there is a bug in that module. You cannot leave a space in the file path

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: how to configure mod_fcgid
Posted by: zakaria (159.15.67.---)
Date: July 20, 2012 04:37PM

can i change change my PHP from TS to NTS?

what bug are you talking about? and what module? do you mean FastCGI module ?

thanks

Options: ReplyQuote
Re: how to configure mod_fcgid
Posted by: stevenmartin99 (Moderator)
Date: July 20, 2012 04:45PM

yes the FastCGI module has a bug , it cant handle spaces in the path, so make sure your http server is installed with out a space in the path.

No you cannot add a NTS version of php using a wampserver addon because its not designed to modify the module paths.


i have builT a version of wamp in NTS with fastcgi enabled if you want to use it?

>> [pampserver.com]

1. install it into a new folder
2. Do not leave a space in the install path.
3. DO NOT install other wamp addons or it will break

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 07/20/2012 04:46PM by stevenmartin99.

Options: ReplyQuote
Re: how to configure mod_fcgid
Posted by: zakaria (---.40.254.46.threembb.co.uk)
Date: July 21, 2012 12:46PM

can you please explain what do you mean by :

Do not leave a space in the install path.

Many thanks Steven

Options: ReplyQuote
Re: how to configure mod_fcgid
Posted by: stevenmartin99 (Moderator)
Date: July 21, 2012 01:11PM

Do not install in "program files" for example

"C:\program files\wamp"

As there is white space in the folder name.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: how to configure mod_fcgid
Posted by: zakaria (---.40.254.46.threembb.co.uk)
Date: July 21, 2012 03:24PM

is working fine, thanks

what's the difference between using TS or NTS, if fastCGI offer fast results?

for me it looks like that FastCGI is faster, so why people don't use it instead of handler server API ?

Options: ReplyQuote
Re: how to configure mod_fcgid
Posted by: stevenmartin99 (Moderator)
Date: July 21, 2012 05:20PM

It comes down to the OS.

TS is thread safe
NTS is non thread safe.

Windows uses thread safe because it uses a threaded architecture.

Thread safe versions use a different module called ISAPI.

It's ok to use nts provided you use cgi.

Fast cgi is just an improvement to seem up cgi

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 07/21/2012 05:28PM by stevenmartin99.

Options: ReplyQuote


Sorry, only registered users may post in this forum.