Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:linux:arch_php_fcgid [2012/04/22 21:00] – alex | en:linux:arch_php_fcgid [2012/04/22 21:18] (current) – [PHP via FastCGI under Arch Linux] alex | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| </ | </ | ||
| - | FastCGI needs a wrapper or else suexec will get angry, so create one in ''/ | + | FastCGI needs a wrapper or else suexec will get angry, so create one in ''/ |
| < | < | ||
| - | # mkdir /var/www/ | + | # mkdir /srv/http/ |
| - | # ln -s /usr/bin/php5-cgi /var/www/ | + | # ln -s /usr/bin/php-cgi /srv/http/ |
| </ | </ | ||
| Line 46: | Line 46: | ||
| # Define alias "/ | # Define alias "/ | ||
| # you could run another " | # you could run another " | ||
| - | Alias /fcgi-bin/ /var/www/ | + | Alias /fcgi-bin/ /srv/http/ |
| | | ||
| # Turn on the fcgid-script handler for all files within the alias "/ | # Turn on the fcgid-script handler for all files within the alias "/ | ||