Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:linux:arch_php_fcgid [2012/04/22 21:00] alexen:linux:arch_php_fcgid [2012/04/22 21:18] (current) – [PHP via FastCGI under Arch Linux] alex
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/"