Installing PHP on IIS 6.0 (Windows 2003)?
07-06-2004, 14:02
|
#16
|
|
Inactive
Join Date: Jun 2003
Location: Belfast
Age: 46
Posts: 4,594
|
Re: Installing PHP on IIS 6.0 (Windows 2003)?
Maybe this is another option
http://www.tek-tips.com/viewthread.c...pid=434&page=1
Quote:
|
I found out that you set the environment variable REDIRECT_STATUS to FALSE and it works!
|
|
|
|
07-06-2004, 14:06
|
#17
|
|
Inactive
Join Date: Jun 2003
Location: UK
Posts: 4,988
|
Re: Installing PHP on IIS 6.0 (Windows 2003)?
Quote:
|
Originally Posted by gazzae
Are you sure its reading the correct ini file? try this, if this doesn't work I've no idea. sorry
12. How do I know if my php.ini is being found and read? It seems like it isn't as my changes aren't being implemented.
To be sure your php.ini is being read by PHP, make a call to phpinfo() and near the top will be a listing called Configuration File (php.ini). This will tell you where PHP is looking for php.ini and whether or not it's being read. If just a directory PATH exists than it's not being read and you should put your php.ini in that directory. If php.ini is included within the PATH than it is being read.
If php.ini is being read and you're running PHP as a module, then be sure to restart your web server after making changes to php.ini
|
sorry to say but the test page I'm using is only a simply phpinfo() call
|
|
|
07-06-2004, 14:10
|
#18
|
|
Inactive
Join Date: Jun 2003
Location: Belfast
Age: 46
Posts: 4,594
|
Re: Installing PHP on IIS 6.0 (Windows 2003)?
What about the environment variable did you try changing that?
|
|
|
07-06-2004, 14:13
|
#19
|
|
Inactive
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 47
Posts: 6,343
|
Re: Installing PHP on IIS 6.0 (Windows 2003)?
Quote:
|
Originally Posted by gazzae
If php.ini is being read and you're running PHP as a module, then be sure to restart your web server after making changes to php.ini
|
AFAIK, IIS only uses the CGI version of PHP. (php.exe)
|
|
|
07-06-2004, 14:15
|
#20
|
|
Inactive
Join Date: Jun 2003
Location: UK
Posts: 4,988
|
Re: Installing PHP on IIS 6.0 (Windows 2003)?
Quote:
|
Originally Posted by gazzae
What about the environment variable did you try changing that?
|
What environment variable?
Quote:
|
Originally Posted by Richard M
AFAIK, IIS only uses the CGI version of PHP. (php.exe)
|
agreed, well that's what I've installed, see post #1
|
|
|
07-06-2004, 14:18
|
#22
|
|
Inactive
Join Date: Jun 2003
Location: UK
Posts: 4,988
|
Re: Installing PHP on IIS 6.0 (Windows 2003)?
Quote:
|
Originally Posted by gazzae
|
No difference
p.s. the link you posted redirected me to their homepage  and a search for REDIRECT_STATUS returned nothing
|
|
|
07-06-2004, 14:21
|
#23
|
|
Inactive
Join Date: Jun 2003
Location: UK
Posts: 4,988
|
Re: Installing PHP on IIS 6.0 (Windows 2003)?
Quote:
|
Originally Posted by Caspar
p.s. the link you posted redirected me to their homepage  and a search for REDIRECT_STATUS returned nothing 
|
Are you a member I take it of that forum, cause it says you have to be a member to search
|
|
|
07-06-2004, 14:22
|
#24
|
|
Inactive
Join Date: Jun 2003
Location: Belfast
Age: 46
Posts: 4,594
|
Re: Installing PHP on IIS 6.0 (Windows 2003)?
I've no idea mate.
The tek-tips site, try searching by "Security Alert! The PHP CGI cannot be accessed directly" and make sure you change the drop down menu beside the search box to "Search Posts (Keywords)"
|
|
|
07-06-2004, 14:34
|
#25
|
|
Inactive
Join Date: Jun 2003
Location: UK
Posts: 4,988
|
Re: Installing PHP on IIS 6.0 (Windows 2003)?
ok, it's sorted
I got so fed up with this...check how long we've been battling this beast for today!!!
Anyway, I decided to copy and paste the php.ini to everyplace in the dir strc I could think of!!!!
It ended up to be valid in C:\PHP\php.ini
Case closed and thanks to gazzae and Richard M
|
|
|
07-06-2004, 15:00
|
#26
|
|
Inactive
Join Date: Jun 2003
Location: Belfast
Age: 46
Posts: 4,594
|
Re: Installing PHP on IIS 6.0 (Windows 2003)?
Glad you got it sorted!
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 22:10.
|