Differences
This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
en:linux:arch_php_fcgid [2012/04/22 22:53] alex created |
en:linux:arch_php_fcgid [2012/04/22 23:00] alex |
||
---|---|---|---|
Line 29: | Line 29: | ||
<IfModule mod_fcgid.c> | <IfModule mod_fcgid.c> | ||
# Path to php.ini – defaults to /etc/phpX/cgi | # Path to php.ini – defaults to /etc/phpX/cgi | ||
- | DefaultInitEnv PHPRC=/etc/php5/cgi | + | DefaultInitEnv PHPRC=/etc/php |
| | ||
# Number of PHP childs that will be launched. Leave undefined to let PHP decide. | # Number of PHP childs that will be launched. Leave undefined to let PHP decide. | ||
Line 70: | Line 70: | ||
Include conf/extra/php5_fcgid.conf | Include conf/extra/php5_fcgid.conf | ||
</code> | </code> | ||
+ | |||
+ | Finally, restart apache: | ||
+ | |||
+ | <code> | ||
+ | # rc.d restart httpd | ||
+ | </code> | ||
+ | |||
+ | ===== Links ===== | ||
+ | |||
+ | * [[http://www.fastcgi.com/|FastCGI]] | ||
+ | * [[http://httpd.apache.org/mod_fcgid/|Apache mod_fcgid]] | ||
+ | * [[http://typo3.org/documentation/article/using-php-with-mod-fcgid/|Using PHP with mod_fcgid (typo3.org)]] | ||
+ | |||