php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17314 CGI error with doc_root as in php.ini_dist
Submitted: 2002-05-20 14:26 UTC Modified: 2002-12-03 15:57 UTC
From: cg at gordimer dot net Assigned:
Status: Closed Package: IIS related
PHP Version: 4.3.0 dev OS: Win XP Pro
Private report: No CVE-ID: None
 [2002-05-20 14:26 UTC] cg at gordimer dot net
PHP as CGI with IIS 5.1 doesn't work (CGI error) if doc_root is left as it is in php.ini-dist

doc_root =

However it works if doc_root is commented out:

; doc_root =

Same for php.ini-recommended

There's also a thread on that in the php-install mailing list.

Christoph

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-03 12:32 UTC] mfischer@php.net
Can't reproduce.

Are you sure this is not actually the problem with having cgi.force_redirect set to 1 ?
 [2002-06-03 14:26 UTC] cg at gordimer dot net
No, I'm sure it's not cgi.force-redirect.

The behaviour is changing when commenting out doc_root.

Have verified it again. However, I didn't have the problem on a NT 4.0 Server SP6a with IIS 4.

Christoph
 [2002-07-01 16:08 UTC] cg at gordimer dot net
Veryfied with 4.3.0 snapshot of yesterday. Still the same phenomen.
 [2002-10-31 11:55 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-11-16 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-12-03 01:25 UTC] shane@php.net
Please try a snapshot dated after today.
 [2002-12-03 15:57 UTC] cg at gordimer dot net
Yeah, it works now - and, more important, the CGI environment vars all set correctly - what a magical day... sometimes one just has to pray and then wait long enough (at least if he can't code).

Thanks a lot, Shane
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 12 16:01:35 2024 UTC