shahab03 Posted May 28, 2008 Share Posted May 28, 2008 i have simple php file stored under C:\Inetpub\wwwroot and below is the 1 line code in the info.php file: <?php phpinfo(); ?> when I try to access this file by typing http://localhost/info.php into the IE address bar I get a message for file download saying "Do you want to open or save this file?" whats going on here? Link to comment https://forums.phpfreaks.com/topic/107553-error-when-opening-php-page/ Share on other sites More sharing options...
Prismatic Posted May 28, 2008 Share Posted May 28, 2008 I've not worked with IIS but I do believe it doesn't come packaged with PHP, as such, you'll need to install it. http://www.simongibson.com/intranet/php2003/ Or alternatively, you can install one of the many pre-compiled and configured Apache+PHP+MySQL kits available and be up and running in a matter of minutes, http://www.en.wampserver.com/ Link to comment https://forums.phpfreaks.com/topic/107553-error-when-opening-php-page/#findComment-551301 Share on other sites More sharing options...
BillyBoB Posted May 28, 2008 Share Posted May 28, 2008 You can also try downloading XAMPP. Link to comment https://forums.phpfreaks.com/topic/107553-error-when-opening-php-page/#findComment-551302 Share on other sites More sharing options...
shahab03 Posted May 28, 2008 Author Share Posted May 28, 2008 well i have IIS installed. and it is running. Link to comment https://forums.phpfreaks.com/topic/107553-error-when-opening-php-page/#findComment-551314 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.