Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Docs

[Httpd Wiki] Update of "php-fcgid" by gryzor

 

 

Apache docs RSS feed   Index | Next | Previous | View Threaded


wikidiffs at apache

May 29, 2013, 1:49 PM

Post #1 of 3 (132 views)
Permalink
[Httpd Wiki] Update of "php-fcgid" by gryzor

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "php-fcgid" page has been changed by gryzor:
https://wiki.apache.org/httpd/php-fcgid?action=diff&rev1=5&rev2=6

2.#2 Install mod_fcgid
'' On debian, "apt-get install libapache2-mod-fcgid"''
3.#3 Install PHP as CGI
- ''On debian, "apt-get install php5-cgi''
+ ''On debian, "apt-get install php5-cgi"''
4.#4 Write a small wrapper, such as this : /usr/local/bin/php-wrapper
----
#!/bin/sh
@@ -45, +45 @@

Make sure it is readable and executable by the apache user/group.
5.#5 Configuration - httpd.conf
LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so
+
AddHandler fcgid-script .php
+
FcgidWrapper /usr/local/bin/php-wrapper .php
+

6.#6 Replace prefork MPM with a threaded MPM, such as '''worker'''.
''On debian, just run "apt-get install apache2-mpm-worker"''

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe [at] httpd
For additional commands, e-mail: docs-help [at] httpd


wikidiffs at apache

May 29, 2013, 1:53 PM

Post #2 of 3 (128 views)
Permalink
[Httpd Wiki] Update of "php-fcgid" by gryzor [In reply to]

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "php-fcgid" page has been changed by gryzor:
https://wiki.apache.org/httpd/php-fcgid?action=diff&rev1=5&rev2=6

2.#2 Install mod_fcgid
'' On debian, "apt-get install libapache2-mod-fcgid"''
3.#3 Install PHP as CGI
- ''On debian, "apt-get install php5-cgi''
+ ''On debian, "apt-get install php5-cgi"''
4.#4 Write a small wrapper, such as this : /usr/local/bin/php-wrapper
----
#!/bin/sh
@@ -45, +45 @@

Make sure it is readable and executable by the apache user/group.
5.#5 Configuration - httpd.conf
LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so
+
AddHandler fcgid-script .php
+
FcgidWrapper /usr/local/bin/php-wrapper .php
+

6.#6 Replace prefork MPM with a threaded MPM, such as '''worker'''.
''On debian, just run "apt-get install apache2-mpm-worker"''

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe [at] httpd
For additional commands, e-mail: docs-help [at] httpd


wikidiffs at apache

Jun 2, 2013, 5:37 AM

Post #3 of 3 (115 views)
Permalink
[Httpd Wiki] Update of "php-fcgid" by gryzor [In reply to]

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "php-fcgid" page has been changed by gryzor:
https://wiki.apache.org/httpd/php-fcgid?action=diff&rev1=6&rev2=7


# Example:

- # PHP FastCGI processes exit after 500 requests by default.
+ # PHP FastCGI processes exit after 1000 requests by default.

PHP_FCGI_MAX_REQUESTS=1000


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe [at] httpd
For additional commands, e-mail: docs-help [at] httpd

Apache docs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.