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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS/PHP Config Nightmare

Status
Not open for further replies.

locutis

Programmer
Nov 3, 2006
53
0
0
US
Hello,

I'm trying to get a simply phpinfo.php to run on my local IIS 5.0, using php5.2.0. I've configured the php.ini, set all the PATH and PHPRC environmental variables and so forth according to the help files. When I try to run the phpinfo.php from my directory ( it just hangs. So, I checked out the php.exe file itself, and when I try to run it I get:
unable to load dynamic library... and several come up. So, I went into the php.ini and commented out the Windows Extensions but this didn't work either. If someone could help me just get a simple php to run on my IIS I would be very grateful so I don't pull out any more hair I don't have.

Thanks in advance,
Jean Luc
 
OK, I finally (six hours later) figured it out. Had to really tweak the php.ini, IIS and Environmental Variables.
 
I had same PROBLEM.
My steps-
1.extract php-5.2.0-Win32.zip to c:\php
to avoid directory spaces c:\program files\php
2.rename php.ini-recommended --> php.ini
3.configure IIS5
properties
a. home directory tab
**set application protection - Low(IIS Pooled)
configuration
add
browse c:\php
select php5isapi.dll
extention .php(remember the DOT)
all verbs
script engine
check that files exists
OK
OK
b. ISAPI tab
add
browse c:\php
select php5isapi.dll
file name php(or any name you want)
OK
4. set directory Security c:\php **IIS Pooled
a. right click c:\php - properties - security
b. add
c. advanced
d. find now
e. scroll to IWAM_YourMachineName
f. click on
g. OK
h. lauch IIS process account (machine\IWAM_machine)
should appear.
i. select FULL CONTROL
j. OK

I had to set NO OTHER settings to get basic *.php to run
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top