brettr
asked on
Can I execute PHP in HTML on Windows/IIS?
Is it possible to execute inline PHP
<?php /*do something*/ ?>
on a windows box? How is that done?
<?php /*do something*/ ?>
on a windows box? How is that done?
Brettr, there are a billion articles on how to do this. Do a simple search in google for php in windows and take your pick.
ASKER
No help. From what I've read you need to add a .htaccess file, which is Apache. Not IIS.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'm using the first link and have installed the PHP MSI. However, there is no php5isapi.dll, which I need to tell IIS about so it can then execute PHP in an HTML file. Any ideas?
yes, just search google for it and download and install
ASKER
Ok. If you can figure it out, I'll award points. If you can't, maybe some body else will.
Not sure this will help, but you don't want to overlook the PHP resources on this subject:
http://us3.php.net/install.windows
Best, ~Ray
http://us3.php.net/install.windows
Best, ~Ray
ASKER
Solution is to add a module mapping using FAST CGI. Put the path in quotes. Use extension of "*.html" (without quotes).
ASKER
The solution isn't in there. I just pieced it together reading parts of other solutions.