Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

II6 Windows 2008 & II4 windows 2000 PHP install 1

Status
Not open for further replies.

ayaxrm

Programmer
Dec 11, 2008
11
ES
Hi,
I installed a php 5 package, because I need to run PHP scripts in a web server, in a Internet information server (IIS) 6 in a windows server 2008 and in other way in a IIS 4 in a windows server 2000.

I copy php.ini in a system32 folder and register php5isapi.dll in a filter isapi and in tab home directory, configuration, application mappings. Then, when I explore info.php, it show me a blank page in the explorer. It don't show me an error, just a blank page.

can you help me, please?

thanks a lot

also, excuse me for my bad english ;)
 
I see in C:\inetpub\logs\LogFiles\W3SVC1 this log. Is it the log that you say?

thanks

#Software: Microsoft Internet Information Services 7.0
#Version: 1.0
#Date: 2009-05-26 16:05:23
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2009-05-26 16:05:23 ::1 GET /info.php - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30618) 500 19 183 203
#Software: Microsoft Internet Information Services 7.0
#Version: 1.0
#Date: 2009-05-26 16:42:31
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2009-05-26 16:42:31 ::1 GET /info.php - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30618) 200 0 0 2875
2009-05-26 16:42:44 ::1 GET /info.php - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30618) 200 0 0 0
2009-05-26 16:43:03 ::1 GET /info.php - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30618) 200 0 0 0
#Software: Microsoft Internet Information Services 7.0
#Version: 1.0
#Date: 2009-05-26 17:01:35
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2009-05-26 17:01:35 ::1 GET /index.php - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30618) 404 0 0 15
2009-05-26 17:03:41 ::1 GET /index.php - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30618) 404 0 0 15
2009-05-26 17:04:05 ::1 GET /info.php - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.0;+SLCC1;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30618) 200 0 0 0
 
i assume info.php has something in it? such as
Code:
<?php
phpinfo();
?>

did you remember to restart the IIS server after making the changes?

best practice, from memory is as follows:

1. put php.ini in c:\windows
2. run the IIS Manager (C:\windows\system32\inetsrv\inetmgr.exe)
3. click on handler mappings and add php5isapi.dll as an executable map to *.php files
restart

make sure that the php directory has appropriate permissions for the IIS user (IUSR_MACHINENAME).

i believe also that you have to install the ISAPI Extensions module for IIS7. in previous versions it was installed by default. not so any more (i may be wrong).

alternatively MS provide an all in one installer here
 
I install MS provide an all in one installer, restart the server and IT'S OK!!!!!!!

You are a crack, YOU ARE THE BEST!!!!!!!!!

thank you a lot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top