Maybe you could try this
no quarentees :)

Niel Zeeman
----- Original Message ----- 
From: "Sebastian Stadtlich" <[EMAIL PROTECTED]>
To: "'Php-General (E-Mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 12:26 PM
Subject: [PHP] W2K Pro, IIS5.0 + PHP4.4 install trouble....


> i just installed php on IIS5.01.
> i placed a file phpinfo.php in the webroot
> ---------------
> <?php
> phpinfo();
> ?>
> --------------
>  
> whatever i try i always get the following error :
>  
> Warning opening 'c:\inetpub\wwwroot\phpinfo.php' for inclusion
> (include_path='') in unknown on line 0
>  
> i'm not sure what this include thing is about....
> but on an old installation on a nt4.0 ihave nothing written in it......
> if i write phpscripts they are executed perfectly, 
> <?php
> echo ""test";
> ?>
>  
> but i don't get any information from phpinfo....
> ( which is pretty usefull......)
>  
> any sugestions?
>  
> sebastian
> 
Installation Procedures for PHP4 on a Windows2K server

1)Copy the PHP files to a directory ( preferably a dos compatible named directory) on 
the server.

2)Copy the "php4ts.dll" to the \winnt\system32 directory.

3)If Interbase support in required and Interbase itself is not installed on the server 
copy the "gds32.dll" file that resides in the "dlls" directory of you PHP installation 
to the \winnt\system32.
3.1) Modify the php.ini file and set the "extension_dir" to the folder containing the 
extensions (e.g. extension_dir = C:\php\extensions ).
3.2) Uncomment the "extension=php_interbase.dll" line in the php.ini file.

4)Copy the php.ini to the winnt directory.

5)Open up the "Internet Services Manager"  under "Administrative Tools" on the start 
up menu.

6)Open up the "server name" to reveal the servers that are running.

7)Stop the "Default Web Site" server.

8)Right click on it and go to properties.

9)Under the "Default Web Site Properties" dialog select the "ISAPI Filters" Tab.

10)Click "Add" to add a new filter. 

11)In the "Filter Name" field enter "PHP" and in the "Executable" field use the 
"Browse" button to navigate to the "sapi" directory under the php installation and 
select the "php4isapi.dll" file.

12)Click "Apply" and "OK" on the "Filter Properties" dialog and click "Apply"  on the 
"Default Web Site Properties" dialog.

13)Next Click on the "Home Directory" tab and click the "Configuration" button to open 
up the "Application Configuration" dialog.

14)Click the "Add" button to add a new "Application Mapping".

15)On the "Add/Edit Application Extension Mapping" dialog click the "Browse" button, 
and navigate to the "php4isapi.dll" file as before.

16)Next enter the extension that you are going to use ( ".php" ).

17)Make sure that the "Script Engine" is ticket, and leave the rest as is.

18)Click "OK" and the "Apply" and "Close" on the "Application Configuration" dialog 
and then click "Apply" and "Close" on the "Default Web Site Properties" dialog as well.

19)Start the "Default Web Site" server again and you should have PHP installed and 
running. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to