PHP and IIS

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
tomE
Forum Newbie
Posts: 19
Joined: Tue Jul 12, 2005 7:26 am
Location: Liverpool

PHP and IIS

Post by tomE »

Ok tried this tutorial and still can't get IIS and PHP to run in conjunction and test php scripts. What am i doing wrong? Every time i open the index.php ittries to open the file in dreamweaver

h**p://forums.devnetwork.net/viewtopic.php?t=27541
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

did you use the installer, the zip package what?

if you used the zip package, you need to make sure you configure your php.ini correctly. You also need to make sure you copy the proper dlls to their correct locations.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Check the tutorial on viewtopic.php?t=33616
tomE
Forum Newbie
Posts: 19
Joined: Tue Jul 12, 2005 7:26 am
Location: Liverpool

PHP

Post by tomE »

i used a windows package installer (php-4.3.11-installer) and did an automatic install following a tutorial from a guy who works at macromedia.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

I haven't used the installer in a very long time so I'm shooting from the hip here.

check your mappings and make sure that php is entered. It should be pointing to php.exe since you're using the cgi version (only way the installer works).

also make sure that php.ini is copied into your c:\%systemroot% folder as well as the appropriate .dll files into the system32 folder. (the installer should have taken care of all of this :roll: )
tomE
Forum Newbie
Posts: 19
Joined: Tue Jul 12, 2005 7:26 am
Location: Liverpool

Post by tomE »

Burrito i am guessing but i think when yousay mappings you mean the whole 'right click on web site folder in IIS, to change properties i.e script executables, php.exe enabling etc. This was in place but still failed to work. Thanks for the help though, i am gonna start again and try the tutorial anajanesh suggested if he can kindly explain the following point to me;

When i open IIS there is no web service extension folder;

"Right Click on Web Service Extensions and select Add a New Web service extension"

can i create it?
tomE
Forum Newbie
Posts: 19
Joined: Tue Jul 12, 2005 7:26 am
Location: Liverpool

Post by tomE »

I have installed all the windows components for IIS as well. Still no joy
hairyjim
Forum Contributor
Posts: 219
Joined: Wed Nov 13, 2002 9:04 am
Location: Warwickshire, UK

Post by hairyjim »

open the file in dreamweaver
Are you connecting to the php file via a browser?
tomE
Forum Newbie
Posts: 19
Joined: Tue Jul 12, 2005 7:26 am
Location: Liverpool

Post by tomE »

Its ok i got it workin now, cheers guys
Post Reply