RE: Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid)

2011-06-29 Thread Van Der Meulen, Mark
-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Grant Peel Sent: Wednesday, 29 June 2011 2:13 PM To: freebsd-questions@freebsd.org Subject: Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid) Hello Everyone, I am researching how to run PHP as CGI

Re: Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid)

2011-06-29 Thread Damien Fleuriot
*fast* cgi , which as the name implies, is erm, fast ;) See, only apache has PHP as a module. Other web servers such as nginx or lighttpd use a fastcgi process. This has several advantages: - you'll no longer see apache exit with (quote) a signal 11, core dumped because of lousy php code

Re: Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid)

2011-06-29 Thread Grant Peel
Should I be using suPHP then instead of the formentioned suexec/mod_fcgid ? -Grant -Original Message- From: Damien Fleuriot Sent: Wednesday, June 29, 2011 4:25 AM To: freebsd-questions@freebsd.org Subject: Re: Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid) *fast* cgi , which

Re: Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid)

2011-06-29 Thread Damien Fleuriot
Sent: Wednesday, June 29, 2011 4:25 AM To: freebsd-questions@freebsd.org Subject: Re: Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid) *fast* cgi , which as the name implies, is erm, fast ;) See, only apache has PHP as a module. Other web servers such as nginx or lighttpd use a fastcgi

Apache 2.2 + PHP5 + SuExec + (fast-cgi or mod_fcgid)

2011-06-28 Thread Grant Peel
Hello Everyone, I am researching how to run PHP as CGI with Apache's Suexec module. Up to this point we have been using PHP as an Apache mod, but are looking to move to the more secure solution. I am not sure this is exactly the right list top post to so if anyone knows a better one please let

Nginx PHP5 Fast-CGI FreeBSD CURRENT

2007-09-08 Thread OutBackDingo
Ok wizards Nginx Lighttpd Fast-cgi and PHP5 seems all configured, yet when i point a browser at a php page it tries to download the file, instead of render it in the browser, any ideas what i missed --nginx.conf-- #user nobody; worker_processes 1; events

Re: Nginx PHP5 Fast-CGI FreeBSD CURRENT

2007-09-08 Thread Patrick Lamaiziere
Le Sun, 09 Sep 2007 01:38:50 +0300, OutBackDingo [EMAIL PROTECTED] a écrit : # .php5 sent to php5 location ~ .*\.php5$ { I'm not sure for this expression, i use for .php location ~ \.php$ { include /usr/local/etc/nginx/fastcgi_params; fastcgi_pass 127.0.0.1:10005;

fast CGI

2005-01-20 Thread Jim Pazarena
I have a .fcgi perl routine which has at the top of it: #!/usr/bin/perl use FCGI; # imports the library and when I attempt to execute this .fcgi, I get the following error message: Can't locate FCGI.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.5/mach

Re: fast CGI

2005-01-20 Thread martin hudec
Hello, On Thu, Jan 20, 2005 at 03:45:23AM -0800 or thereabouts, Jim Pazarena wrote: I have a .fcgi perl routine which has at the top of it: #!/usr/bin/perl use FCGI; # imports the library and when I attempt to execute this .fcgi, I get the following error message: Can't locate

Re: fast CGI

2005-01-20 Thread Thanos Tsouanas
On Thu, Jan 20, 2005 at 03:45:23AM -0800, Jim Pazarena wrote: I have a .fcgi perl routine which has at the top of it: I tried compiling the perl port using -DWITH_FCGI ... that was a stab in the dark Maybe the ports will help you: cd /usr/ports make search key=fcgi or go to