I am having problems trying to setup PHP with WinGate, so if anyone knows how to actually do it then any comments would be appreciated.
I download the latest verison of PHP and install it with the webserver option "Other CGI"
http://www.php.net/get/php-5.2.3-win32- ... m/a/mirror
I open the PHP.ini and uncomment then set
cgi.force_redirect = 0
Then to WinGates WWW Proxy Server - Web Server I :
Add a second one (Default is Reject)
General Tab:
Server Root = C:\Web
Default Filename = index.php
Permint Dir Browsing = unchecked.
Enable CGI= checked.
CGI Directory = C:\PHP
Hosts tab:
www.immediateaction.com
Then I enter it into my hosts file and associate to my ip address that the proxy is listening on. (this is all being tested on one comptuer with no proxy server specified in IE).
Then I click on the Settings button and enter the extension as php and then browse to the php-cgi.exe path.
When I open Internet Explorer and naviagate to
www.immediateaction.com I get a blank page returned; it should return the output of a phpinfo(). With the Task Manager open I can see the php-cgi.exe get started. I can still call HTML (with no php code in it) fine.
Anyone know what I am doing wrong?