[mapserver-users] how to :- setting up php as CGI for windows apache
David Armstrong
david.armstrong at ntlworld.com
Wed Aug 7 16:56:53 PDT 2002
just for other users of windows if you need to alter your install for php
mapscript to work as CGI
here's my modified entrys
LoadModule php4_module C:/phpdev5/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4 .php .htm .inc .fire
#removed .phtml .PHP3 from the above line php mapscript requires CGI
AddType application/x-httpd-php-source .phps
#for MAPSERVER php mapscript use
#Just make sure scripts for php mapscript use ".phtml" extensions
ScriptAlias /php/ "C:/phpdev5/php/"
AddType application/x-httpd-php_cgi .phtml .php3
Action application/x-httpd-php_cgi "/php/php.exe"
no other changes are required
hope it helps !
Dave
More information about the MapServer-users
mailing list