I have just set up IIS on my laptop where you manually host your PHP files in the inetpub but when I view them, they are asking to open the file or save the file. Any suggestions? Many thanks in advance CHEERS
i think that PHP files are not working with the IIS. they want the Apache software. you can install the WAMP Server (windows, apache, mysql, php). is opensource. http://www.en.wampserver.com
PHP can work with any type of server. Have you actually installed PHP or configured it properly? You can download the latest PHP installer for Windows at PHP's website. (php.net)
WOW!! Thanks guys, after reading everyone's comment, I think php is not installed on my latop lol. I will give that one a try but as for the IIS version I'm not sure how to find out all I did was add the IIS from add/remove components in control panel and checked IIS to install. I will try installing php first then and see what the outcome is and report back asap
Just put in a phpinfo.php and check out if it works Open a text file add in <?php // Show all information, defaults to INFO_ALL phpinfo(); // Show just the module information. // phpinfo(8) yields identical results. phpinfo(INFO_MODULES); ?> Save as phpinfo.php
DO you have to be on the internet to make this work? Cause I want to test it on my localhost or laptop CHEERS
you can download php here : http://www.php.net/downloads.php pick PHP 5.2.6 installer, and choose extensions you want. install PHP as an isapi. on the IIS Manager add index.php as a default document. Be sure also to install mysql. good luck
I got it to work. All I did was uninstalled the various virtual host and installed wamp. So I have it running now, so I can test my php in the browser now without the internet. CHEERS