- Code: Select all
LoadModule fcgid_module modules/mod_fcgid.so
<IfModule mod_fcgid>
FcgidInitialEnv PHPRC "c:/xampp/php"
FcgidInitialEnv PATH "c:/xampp/php;C:/Windows/system32;C:/Windows;C:/Windows/system32/wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Ruby193/bin"
FcgidInitialEnv SystemRoot "C:/Windows"
FcgidInitialEnv SystemDrive "C:"
FcgidInitialEnv TEMP "C:/Users/Ed/AppData/Local/Temp"
FcgidInitialEnv TMP "C:/Users/Ed/AppData/Local/Temp"
FcgidInitialEnv windir "C:/Windows"
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 500
FcgidMaxProcesses 15
FcgidIOTimeout 64
FcgidIdleTimeout 64
FcgidConnectTimeout 16
FcgidMaxRequestsPerProcess 500
<Files ~ "\.php$">
AddHandler fcgid-script .php
FcgidWrapper "c:/xampp/php/php-cgi.exe" .php
</Files>
</IfModule>
phpinfo() says it's still running as Apache but mod_fcgid is loaded. Yet it didn't load the local php.ini file. Then I found a post that mentioned commenting out the following lines from httpd-xampp.conf:
- Code: Select all
#LoadFile "C:/xampp/php/php5ts.dll"
#LoadModule php5_module "C:/xampp/php/php5apache2_2.dll"
But now I get the following error when I click on the "Admin" button after restarting Apache: "Something is wrong with the XAMPP installation "