Page 1 of 1

installing php 4.3 on IIS

Posted: Tue Jul 08, 2003 4:26 pm
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

Posted: Tue Jul 08, 2003 4:32 pm
by Owe Blomqvist
Yeah.
You have to manualy add the .php extension in iis.

Posted: Tue Jul 08, 2003 4:40 pm
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.

Posted: Tue Jul 08, 2003 4:52 pm
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. :)

Posted: Tue Jul 08, 2003 5:25 pm
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

Posted: Tue Jul 08, 2003 5:44 pm
by Owe Blomqvist
I use windows 2000 server with iis.
The above is what i do to get php working.