note 41480 added to faq

From: Date: Mon, 12 Apr 2004 02:39:09 +0000
Subject: note 41480 added to faq
Groups: php.notes 
Request: Send a blank email to php-notes+get-68001@lists.php.net to get a copy of this message
Description: ------------ I cannot get PATH_INFO working on Windows XP/IIS so I can show pages like this: http://localhost/myapp/login.php/ADMIN Changes to php.ini doc_root = "C:\Inetpub\wwwroot" cgi.force_redirect = 0 cgi.fix_pathinfo = 1 I have tried different values with these three config options and none work. I have already applied the configuration to get IIS to accept path info: adsutil set w3svc/AllowPathInfoForScriptMappings True The Error: Warning: Unknown(c:\inetpub\wwwroot\ADMIN): failed to open stream: No such file or directory in Unknown on line 0 It appears php does not like to call my login script and prefers to instead run the imaginary script path_info "ADMIN" thats on my doc_root NOTE: - Im using the windows binaries, compiling php with --enable-path-info-check may help - if its not already I hope this is the default with the windows binaries - I have tried IIS with php CGI and isapi no joy. - This setup works with apache and therefore solutions beginning with "Just use apache" are entertaining, they are not very helpful. Expected result: ---------------- run my login.php script with the appropriate PATH_INFO variables fixed Actual result: -------------- The Error: Warning: Unknown(c:\inetpub\wwwroot\ADMIN): failed to open stream: No such file or directory in Unknown on line 0 ---- Manual Page -- http://www.php.net/manual/en/faq.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+41480 Delete -- http://master.php.net/manage/user-notes.php?action=delete+41480&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+41480&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#68001) next »