jimmyborofan Posted September 17, 2008 Share Posted September 17, 2008 I have a real pain, I have installed and uninstalled - reinstalled, deleted removed added changed mixed around added to Path copied dll's all over the place, and this is what happens: Whenever I try to view a .php page via IIS (XP Pro btw) what happens is not what I expected: I tried this: <? PHPINFO() ?> and this is what is displayed: <? PHPINFO() ?> normally if the install has not worked it asks me if I would like to download the file rather than display what it is supposed to do. I get is the file in text with no PHP working at all. if I try this: <html> <head> <title>My First PHP Page</title> </head> <body> <?php echo "Hello World!"; ?> </body> </html> All I get is a blank browser screen Please can any body give me an idea of what I am doing wrong, if you need any more info please just ask and I will post back ASAP. Many thanks in advance Jimmy Link to comment https://forums.phpfreaks.com/topic/124662-solved-php-installations-to-iis-why-oh-why-wont-it-work/ Share on other sites More sharing options...
Zane Posted September 17, 2008 Share Posted September 17, 2008 are you running IIS 5 or 6 Link to comment https://forums.phpfreaks.com/topic/124662-solved-php-installations-to-iis-why-oh-why-wont-it-work/#findComment-643869 Share on other sites More sharing options...
jimmyborofan Posted September 17, 2008 Author Share Posted September 17, 2008 As far as I am aware it is 5.1 it is the srandard set up that comes with XP, I have to ask though does it make a difference if it is 5.1 or 6? I didnt know... Jimmy Link to comment https://forums.phpfreaks.com/topic/124662-solved-php-installations-to-iis-why-oh-why-wont-it-work/#findComment-643872 Share on other sites More sharing options...
Zane Posted September 17, 2008 Share Posted September 17, 2008 here are two excellent tutorials PHP on IIS 5.0 http://www.sitepoint.com/article/php-amp-mysql-1-installation/2/ PHP on IIS 6.0 http://www.visualwin.com/PHP-ISAPI/ I have to ask though does it make a difference if it is 5.1 or 6? It makes a difference in where all the options are. On 5, you just click a tab that says ISAPI filters and add PHP to it. On 6 you have to go to the extensions menu. EDIT: Also, I'm going to have to move this topic to PHP Installations. Link to comment https://forums.phpfreaks.com/topic/124662-solved-php-installations-to-iis-why-oh-why-wont-it-work/#findComment-643873 Share on other sites More sharing options...
thesaleboat Posted September 17, 2008 Share Posted September 17, 2008 Or an all in one local server installer: http://www.apachefriends.org/en/xampp.html Link to comment https://forums.phpfreaks.com/topic/124662-solved-php-installations-to-iis-why-oh-why-wont-it-work/#findComment-643875 Share on other sites More sharing options...
jimmyborofan Posted September 17, 2008 Author Share Posted September 17, 2008 Thanks for the speedy replies people I am going to try Apache one more time as I was unable to install the Apache::ASP mod, but the link provided says that it is included within the perl mod, so I am going to try it. I am also going to try the tutorials first as I dont really want to move away from IIS as I have grown pretty used to it over the time Thanks peeps no doubt as I am a newbie to PHP I am likely to be on here a little more to bug you all! Jimmy Link to comment https://forums.phpfreaks.com/topic/124662-solved-php-installations-to-iis-why-oh-why-wont-it-work/#findComment-643883 Share on other sites More sharing options...
jimmyborofan Posted September 17, 2008 Author Share Posted September 17, 2008 Yay! Thanks a lot peeps It is all working perfectly now, I used the first tutorial and realised that the extensions directory was not set correctly and the ISAPI filters were not pointed correctly either. I have resolved this issue and my thanks go to all who helped Jimmy PS can I give rep points on here? Link to comment https://forums.phpfreaks.com/topic/124662-solved-php-installations-to-iis-why-oh-why-wont-it-work/#findComment-643899 Share on other sites More sharing options...
Dienekes Posted April 16, 2009 Share Posted April 16, 2009 Sorry to bump an old thread. But THANKS A TON! I was able to resolve the same issue by following the first link mentioned in the post by zanus. Thanks again guys. Cheers Link to comment https://forums.phpfreaks.com/topic/124662-solved-php-installations-to-iis-why-oh-why-wont-it-work/#findComment-811395 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.