- if php = 6
- then
- (* fastcgi php 5.6, using version 6 since php6 doesn't exist *)
- (TextIO.output (file, "\n\tAddHandler fcgid-script .php .phtml");
- map (fn ext => (TextIO.output (file, "\n\tFcgidWrapper \"");
- (* kerberos wrapper, simulates waklog+mod_cgi *)
- if isWaklog node then
- (TextIO.output (file, Config.Apache.fastCgiWrapperOf user);
- TextIO.output (file, " "))
- else
- ();
- TextIO.output (file, Config.Apache.phpFastCgiWrapper);
- TextIO.output (file, "\" ");
- TextIO.output (file, ext)))
- [".php", ".phtml"];
- ())
- else
- (TextIO.output (file, "\n\tAddHandler x-httpd-php");
- TextIO.output (file, Int.toString php);
- TextIO.output (file, " .php .phtml"));
+ TextIO.output (file, "\n\tAddHandler fcgid-script .php .phtml");
+ map (fn ext => (TextIO.output (file, "\n\tFcgidWrapper \"");
+ (* kerberos wrapper, simulates waklog+mod_cgi *)
+ if isWaklog node then
+ (TextIO.output (file, Config.Apache.fastCgiWrapperOf user);
+ TextIO.output (file, " "))
+ else
+ ();
+ TextIO.output (file, Config.Apache.phpFastCgiWrapper php);
+ TextIO.output (file, "\" ");
+ TextIO.output (file, ext)))
+ [".php", ".phtml"];