Forum

example fcgid_modul...
 
Notifications
Clear all

example fcgid_module configuration

2 Posty
1 Users
0 Reactions
933 Widok
0
Topic starter

apache, windows

2 Answers
0
Topic starter



		FcgidInitialEnv PHPRC "C:\apache\php\php.ini"
		FcgidInitialEnv PATH "C:\apache\php\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;"
		FcgidInitialEnv SystemRoot "C:\Windows"
		FcgidInitialEnv SystemDrive "C:"
		FcgidInitialEnv TEMP "C:\WINDOWS\TEMP"
		FcgidInitialEnv TMP "C:\WINDOWS\TEMP"
		FcgidInitialEnv windir "C:\WINDOWS"
		
			Options Indexes FollowSymLinks ExecCGI
			AddHandler fcgid-script .php
			FcgidWrapper "C:/apache/php/php-cgi.exe" .php
		
		
	
	
		SetHandler server-status
		Order Deny,Allow
		Deny from all
		Allow from all
	
	
	ServerName my_server_name
	DocumentRoot ../www
	ErrorLog ../logs/localhost-error.log
	TransferLog ../logs/localhost-access.log
	Protocols h2c 
	H2Direct on
	 
		Options Indexes FollowSymLinks
		AllowOverride all
		Require all granted
    

0
Topic starter

this config fix

 mod_fcgid: process C:/apache/php/php-cgi.exe  exit(communication error), return code -2

error

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: