Date: 06/18/02
- Next message: Derick Rethans: "[PHP-DOC] cvs: phpdoc /en/reference/dir/functions chdir.xml getcwd.xml"
- Previous message: michael <email protected>: "[PHP-DOC] Bug #16111 Updated: IIS/CGI only gives "Security Alert! PHP CGI cannot be accessed directly.""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 16111
Updated by: derick <email protected>
Reported By: ramac10 <email protected>
-Status: Critical
+Status: Open
Bug Type: Documentation problem
Operating System: Windows
PHP Version: 4.2.1
New Comment:
Leaving this open as a doc problem.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-06-18 05:39:30] michael <email protected>
Ok .. Big Oops
No BUG!
Big lesson:
This is to do with permission settings when installing php. Make sure
your IIS user or everybody has permissions to access php and dlls in
the php directory.
Sorry guys :)
------------------------------------------------------------------------
[2002-06-18 05:15:53] michael <email protected>
>The problem was the php.exe was not reading the php.ini
>in the system32 directory as per normal.
Sorry I meant to say "winnt" folder and not "system32"
------------------------------------------------------------------------
[2002-06-18 04:05:09] mfischer <email protected>
It's c:\winnt\ as stated in
http://cvs.php.net/co.php/php4/win32/install.txt
------------------------------------------------------------------------
[2002-06-18 03:59:42] michael <email protected>
Ok people here is the problem.
I had the same the problem on a newly built server Win2K SP2 with the
latest PHP release. After hours of messing around to get this thing to
work - I finally found the problem.
The problem was the php.exe was not reading the php.ini in the system32
directory as per normal.
I ran a phpinfo() from the commmand line (DOS Window) checked the
"Configuration File (php.ini) Path" and surely enough the path was
pointing to where my php scripts where located on the webserver doc
root (e.g. c:/www/www.umm.com/doc/php.ini), so I moved the php.ini file
to this folder - and guess what? it worked.
I can't see anywhere where I can set the configuration file path - and
i don't think its very wise to store php.ini in the web folder.
Is this a bug? If so please can you fix this ASAP - this is truly a
show-stopper!
------------------------------------------------------------------------
[2002-06-03 07:26:10] mfischer <email protected>
Updated version, OS, Summary, reclassified as documentation problem.
As mentioned already, the way to go is to set
cgi.force_redirect = 0
in php.ini . It's now documented in php4/win32/install.txt but needs to
be properly documented in the manual too (especially in the ini
settings and the http://php.net/security.cgi-bin page).
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16111
-- Edit this bug report at http://bugs.php.net/?id=16111&edit=1
- Next message: Derick Rethans: "[PHP-DOC] cvs: phpdoc /en/reference/dir/functions chdir.xml getcwd.xml"
- Previous message: michael <email protected>: "[PHP-DOC] Bug #16111 Updated: IIS/CGI only gives "Security Alert! PHP CGI cannot be accessed directly.""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

