Microsoft Server 2003 compatibility
Moderator: General Moderators
Microsoft Server 2003 compatibility
Have you tried to use php 4.3.2 on 2003 server? I am having problems with Script Mapping. Any ide
as.
It is IIS6 and Windows 2003 server. I have installed PHP and now I am trying to make php.exe run for .php scripts. I have followed instruction for 2000 and XP but no luck yet. I have Windows 2000 working fine by modifying the "Script map" key in W3SVC key but there is no such a value for this key for 2003 server. Appreciate all you send my way.
I found this thread:
http://forums.devshed.com/t61791/s.html
http://www.vbulletin.com/forum/showthre ... adid=63223
Which gives a detailed run down on how to install/config etc for your platform, I am not a Windows user BTW.
Also, as I asked before, are there any error messages thrown ? It may help the group find an answer for you.
Regards,
http://forums.devshed.com/t61791/s.html
http://www.vbulletin.com/forum/showthre ... adid=63223
Which gives a detailed run down on how to install/config etc for your platform, I am not a Windows user BTW.
Also, as I asked before, are there any error messages thrown ? It may help the group find an answer for you.
Regards,
Sorry. By "Scripts" I mean php codes saved as a text file with extension .php.
On older OS like 2000, I can browse my work folder and click on any .php file and have it run by php.exe.
One way to do this on 2000 server is to modify registry keys and add .php and php.exe as new values to "Scripts Map" key as it is instructed in php installation manual.
On 2003 server this key is missing and I can not configure the server to run php.exe whenever a file with .php is clicked.
I hope this sheds some light on the problem I am having. Which has noting to do with actual coding of php. Once again thanks for your time and interest.
On older OS like 2000, I can browse my work folder and click on any .php file and have it run by php.exe.
One way to do this on 2000 server is to modify registry keys and add .php and php.exe as new values to "Scripts Map" key as it is instructed in php installation manual.
On 2003 server this key is missing and I can not configure the server to run php.exe whenever a file with .php is clicked.
I hope this sheds some light on the problem I am having. Which has noting to do with actual coding of php. Once again thanks for your time and interest.
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Give this a try:PopEye wrote:Sorry. By "Scripts" I mean php codes saved as a text file with extension .php.
On older OS like 2000, I can browse my work folder and click on any .php file and have it run by php.exe.
One way to do this on 2000 server is to modify registry keys and add .php and php.exe as new values to "Scripts Map" key as it is instructed in php installation manual.
On 2003 server this key is missing and I can not configure the server to run php.exe whenever a file with .php is clicked.
A) Go to your "Folder Options" applet in the Control Panel.
B) Choose the "File Types" tab.
C) There should be a button labelled "New", click it.
D) Put in your file extension, php, and click "OK"
E) You should then see your "php" (maybe in caps) extension in the list, make sure it's highlighted and then click "Change"
F) You will then need to click the button labelled "Other", and then browse or where your "php.exe" is, and click "Open".
G) You will then see your association in the list (probably at the bottom) click "OK" and the window will close.
H) You will then be taken back to the "Folder Options" applet, with the "File Types" tab displayed, click close on this window.
That will associate your "blah.php" files with your "php.exe" executable.
BIG NOTE: I have never seen this type of config before and have no idea if it will work (me being *nix), I don't use Windows, esp. for PHP etc so not sure what this will do!
From when I used to use Windows, this is the only way I knew how to associate extensions with specific apps, without hacking the registry.
Hope it helps.
Regards,
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Me Mac ? I'm a little lost on this thread, not exactly sure what the OP is trying to achieve 
I was responding to:
Regards,
I was responding to:
Yep, I think I'm losing itPopEye wrote:On older OS like 2000, I can browse my work folder and click on any .php file and have it run by php.exe. .......... On 2003 server this key is missing and I can not configure the server to run php.exe whenever a file with .php is clicked.
Regards,
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
I am really glad that my misery is keeping you guys entertained. But really thanks for your interest. I am a long time Windows user and I know all ins and outs of windows environment up to 2003 server. The 2000 server works fine with PHP. I have tried all the above techniques and procedures already on 2003 server and none worked. I do not know if it is 2003 or the IIS6 that is goofing up. Maybe I just need another pair of eyes to look into the problem. As I said before, I can not even run php.exe from command line to execute a very simple php code. The main problem is that I have not heard of anyone successfully installing the PHP on the 2003 server. Maybe I should wait for the next service pack$$$$$.