Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: PHP over fcgid several file extensions |
|
Author |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 25 Aug '10 14:03 Post subject: PHP over fcgid several file extensions |
|
|
I wanna run different file extensions with php over fcgid e.g. .php and .php5
with the modules that wasn't a problem. I can't figure out how to do this over fcgid
Code: |
LoadModule fcgid_module modules/mod_fcgid.so
FcgidInitialEnv PHPRC "/php64"
FcgidInitialEnv PATH "c:/php5;C:/Windows/system32;C:/Windows;C:/Windows/System32/Wbem;"
FcgidInitialEnv SystemRoot "c:/Windows"
FcgidInitialEnv SystemDrive "c:"
FcgidInitialEnv windir "c:/Windows"
FcgidIOTimeout 64
FcgidConnectTimeout 16
FcgidMaxRequestsPerProcess 500
<Directory "C:/Apache22_dev/htdocs">
AddHandler fcgid-script .php
FcgidWrapper "/php64/php-cgi.exe" .php
Options Indexes FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
|
If I add a second handler and a second fcgidwrapper apache don't start. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 26 Aug '10 17:12 Post subject: |
|
|
Ok I figured it out myself
Code: |
AddHandler fcgid-script .php .php5
FcgidWrapper "/php64/php-cgi.exe" .php
FcgidWrapper "/php64/php-cgi.exe" .php5
|
|
|
Back to top |
|
|
|
|
|
|