Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:linux:arch_php_fcgid [2012/04/22 23:00] alex |
en:linux:arch_php_fcgid [2012/04/22 23:18] (current) alex [PHP via FastCGI under Arch Linux] |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| </code> | </code> | ||
| - | FastCGI needs a wrapper or else suexec will get angry, so create one in ''/srv/http'' | + | FastCGI needs a wrapper or else suexec will get angry, so create one in ''/srv/http'': |
| <code> | <code> | ||
| - | # mkdir /var/www/fcgi-bin.d/php5-default | + | # mkdir /srv/http/fcgi-bin.d/php5-default |
| - | # ln -s /usr/bin/php5-cgi /var/www/fcgi-bin.d/php5-default/php-fcgi-wrapper | + | # ln -s /usr/bin/php-cgi /srv/http/fcgi-bin.d/php5-default/php-fcgi-wrapper |
| </code> | </code> | ||
| Line 46: | Line 46: | ||
| # Define alias "/fcgi-bin/". The action above is using this value, which means that | # Define alias "/fcgi-bin/". The action above is using this value, which means that | ||
| # you could run another "php5-cgi" command by just changing this alias | # you could run another "php5-cgi" command by just changing this alias | ||
| - | Alias /fcgi-bin/ /var/www/fcgi-bin.d/php5-default/ | + | Alias /fcgi-bin/ /srv/http/fcgi-bin.d/php5-default/ |
| | | ||
| # Turn on the fcgid-script handler for all files within the alias "/fcgi-bin/" | # Turn on the fcgid-script handler for all files within the alias "/fcgi-bin/" | ||