installing php 4.3 on IIS

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
terence
Forum Newbie
Posts: 21
Joined: Fri Jun 06, 2003 11:31 pm
Location: new york city

installing php 4.3 on IIS

Post by terence »

I'm in the process of installing php 4.3 on IIS through a vpn. What a daunting task, not to mention never before having to deal with installing PHP.

I go through the motions to install php with the installation wizard and I end up with the message:

Due to a missing OCX control on your system, the installation Wizard is unable to configure the web server. However PHP has been successfully installed, and all you need to do now is manually configure the web server as described in the install.txt.

I change all the .dll extension to start with a c:/.

when I go to read a phpinfo(); function all i get is the option to download the file and save it.

Has anyone dealt with this before?
not sure what to do??

thanks in advance,
terence
Owe Blomqvist
Forum Commoner
Posts: 33
Joined: Wed Oct 16, 2002 2:27 pm

Post by Owe Blomqvist »

Yeah.
You have to manualy add the .php extension in iis.
terence
Forum Newbie
Posts: 21
Joined: Fri Jun 06, 2003 11:31 pm
Location: new york city

Post by terence »

thanks for the reply-
so i add the extensions in the .ini file.
i then place the .ini file in the system folder
do i need to restart the server or is that it.
Owe Blomqvist
Forum Commoner
Posts: 33
Joined: Wed Oct 16, 2002 2:27 pm

Post by Owe Blomqvist »

I´m not sure what you mean about this ini thing.
But what i do is:

1. - In windows, Go to: /controlpanel/administration tools/internet information services.
2. - Right click your machine name. a new window pops up.
3. - Click edit besides the top listbox. a new window pops up.
4. - Click working directory tab.
5. - At the bottom right click configuration.
6. - Click add at lower left.
7. - browse for php.exe, File extension = .php

Done.
You should now be able to run php scripts on your webserver.
I´m not sure if all those names above are correct since i use a swedish version of windows, and hard translated my own names to english. :)
terence
Forum Newbie
Posts: 21
Joined: Fri Jun 06, 2003 11:31 pm
Location: new york city

Post by terence »

i am working on nt platform with IIS as web server-
not sure it is the same routine as you posted bellow-
thank you though
Owe Blomqvist
Forum Commoner
Posts: 33
Joined: Wed Oct 16, 2002 2:27 pm

Post by Owe Blomqvist »

I use windows 2000 server with iis.
The above is what i do to get php working.
Post Reply