For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > July 2004 > Re: php5 on Win XP home (SOLVED)!!!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: php5 on Win XP home (SOLVED)!!!
Richard Farla

2004-07-27, 3:58 pm

The problem was in this part of de php.ini script:

; cgi.force_redirect is necessary to provide security running PHP as a CGI
under
; most web servers. Left undefined, PHP turns this on by default. You can
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
; cgi.force_redirect = 1

SOLUTION WAS : uncomment last line and make it: cgi.force_redirect = 0

:):):):):):):)


"Richard Farla" <farla-klep@planet.nl> schreef in bericht
news:ce2fcn$igb$1@reader11.wxs.nl...
> Hi all,
> I am struggeling now for day´s to get php5 working on my pc. Goal is to

use
> MySQL with PHP. MySQL workes fine, that´s not a¨problem. XP home laks any
> webserver, so I installed Xitami because it is small and workes out of the
> box. I ran thru the manual of PHP for day´s now but ......it does not

seems
> to work..
>
> Testing with a phpinfo() I only get lots of textblabla...but no grafical
> datasheet. Trying a php-script to open a connection to MySQL (found in the
> manuals) gives only PARSE ERRORS....
>
> I told Xitami to use PHP.exe, but I think some configuration of PHP is

wrong
> or missing.....only cannot work out WHAT is wrong.
>
> Richard.



SubSonic

2004-07-28, 3:56 pm

Sadly I already had force_redirect set and still got the garble....

For me I can only assume it is a visnetic webserver issue.
I have now spent some time working through the iis issues and have
everything working as a module... iis is not the best solution but it does
work.


"Richard Farla" <farla-klep@planet.nl> wrote in message
news:ce64sf$buf$1@reader10.wxs.nl...
> The problem was in this part of de php.ini script:
>
> ; cgi.force_redirect is necessary to provide security running PHP as a CGI
> under
> ; most web servers. Left undefined, PHP turns this on by default. You

can
> ; turn it off here AT YOUR OWN RISK
> ; **You CAN safely turn this off for IIS, in fact, you MUST.**
> ; cgi.force_redirect = 1
>
> SOLUTION WAS : uncomment last line and make it: cgi.force_redirect = 0
>
> :):):):):):):)
>
>
> "Richard Farla" <farla-klep@planet.nl> schreef in bericht
> news:ce2fcn$igb$1@reader11.wxs.nl...
> use
any[color=darkred]
the[color=darkred]
> seems
the[color=darkred]
> wrong
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com