IchHabRecht

[APACHE] Load other php version with FastCGI

Sep 3rd, 2012
387
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin [email protected]
  3. DocumentRoot "C:/Apache2/htdocs/localhost"
  4. ServerName localhost.local
  5. ErrorLog "logs/localhost-error.log"
  6. CustomLog "logs/localhost-access.log" combined
  7. <Directory "C:/Apache2/htdocs/localhost">
  8. Options FollowSymLinks Includes ExecCGI
  9. AllowOverride All
  10. Order allow,deny
  11. Allow from all
  12. </Directory>
  13. LoadModule fcgid_module modules/mod_fcgid.so
  14. FcgidInitialEnv PHPRC "C:/PHP4"
  15. AddHandler fcgid-script .php
  16. FcgidWrapper "C:/PHP4/php-cgi.exe" .php
  17. </VirtualHost>
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment