Windows installation for use with apache
Posted: Sat Sep 21, 2002 8:34 am
Sorry if this has been answered before but I've searched high and low. This is regarding the cgi binary security problems and the cgi.force-redirect action.
Yes, I've read the stuff in the manual about setting cgi.force_redirect to 0. I still get the security warning when I try to serve a php file. I believe my problem is that I can't get my apache server to use the .dll instead of the cgi binary.
I've configured my apache httpd.conf to use the php4apache.dll with these lines:
LoadModule php4_module D:php/sapi/php4apache.dll
AddType application/x-httpd-php .php .phtml
However, the cgi-bin seems to still be trying to proces the php files with the cgi binary (otherwise I wouldn't be getting this warning, correct?). I've copied the dll to my system directory (along with all the dlls from the php/dlls directory).
I've put the php.ini file n my system directory and from what I've read, even if I'm using the cgi-binary, setting cgi.force_redirect to 0 should be enough. However, that didn't fix the problem either.
I would greatly appreciate the input of any installation gurus.
Thanks.
Yes, I've read the stuff in the manual about setting cgi.force_redirect to 0. I still get the security warning when I try to serve a php file. I believe my problem is that I can't get my apache server to use the .dll instead of the cgi binary.
I've configured my apache httpd.conf to use the php4apache.dll with these lines:
LoadModule php4_module D:php/sapi/php4apache.dll
AddType application/x-httpd-php .php .phtml
However, the cgi-bin seems to still be trying to proces the php files with the cgi binary (otherwise I wouldn't be getting this warning, correct?). I've copied the dll to my system directory (along with all the dlls from the php/dlls directory).
I've put the php.ini file n my system directory and from what I've read, even if I'm using the cgi-binary, setting cgi.force_redirect to 0 should be enough. However, that didn't fix the problem either.
I would greatly appreciate the input of any installation gurus.
Thanks.