Page 1 of 1

PHP and IIS

Posted: Tue Jul 12, 2005 10:05 am
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

Posted: Tue Jul 12, 2005 12:28 pm
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.

Posted: Tue Jul 12, 2005 12:33 pm
by anjanesh
Check the tutorial on viewtopic.php?t=33616

PHP

Posted: Tue Jul 12, 2005 2:51 pm
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.

Posted: Tue Jul 12, 2005 2:58 pm
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: )

Posted: Tue Jul 12, 2005 4:02 pm
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?

Posted: Tue Jul 12, 2005 7:42 pm
by tomE
I have installed all the windows components for IIS as well. Still no joy

Posted: Thu Jul 14, 2005 4:14 am
by hairyjim
open the file in dreamweaver
Are you connecting to the php file via a browser?

Posted: Thu Jul 14, 2005 6:19 am
by tomE
Its ok i got it workin now, cheers guys