ID: 16111 Updated by: [EMAIL PROTECTED] Reported By: ramac10 at hotmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Windows PHP Version: 4.2.1 New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. "The IIS user (usually IUSR_MACHINENAME) needs permission to read various files and directories, such as php.ini, docroot, and the session tmp directory." It is possible to set rights for individual users under Windows, there's no need of chmod 777. Previous Comments: ------------------------------------------------------------------------ [2005-03-14 10:14:10] richard dot quadling at bandvulc dot co dot uk WOW! This is a 3 year old bug. Ok. My comment would be to drop IIS/PWS. I use Sambar (http://www.sambar.com) which is free and has a commercial license for those needing more support (and a lot of additional facilities). NOTE: Sambar and Samba are NOT related. Both the PHP manual and the Sambar documentation have details about using each other. I've used Sambar from Win98SE up to Windows 2000 Server. I've used it on customer sites for intranet web servers. If you can't fix the issue, then try something else. I'd normally get Sambar, PHP5 and mySQL installed and running in under 15 minutes. Nothing goes into the Windows directory other than a few INI files. All the apps run from there own directories. The registry is not polluted either. Nice and clean and liked by me! Richard. ------------------------------------------------------------------------ [2005-03-14 01:02:11] amr at msexpert dot com i tried all that on win2003 machine , noting works at all full permissions , restart , file copy and the =0 option and register globals . I closed the window and opened the door and still not working . any ideas ? ------------------------------------------------------------------------ [2004-09-21 07:10:25] rajesh at glidemail dot com To Everyone complaining that cgi.force_redirect = 0 is not working, I must say that remove ; (semi-colon) before that line. That is for comment. Remove line and it might work. ------------------------------------------------------------------------ [2004-07-13 11:03:15] chooilai at yahoo dot com i using php 4.3.0 with PWS on a Win98 system. when i try to run phpinfo to test for the installation it comes like below: Security Alert! PHP CGI cannot be accessed directly. This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set. This variable is set, for example, by Apache's Action directive redirect. i try a lot of way to do but still the same. t set the cgi.force_redirect to 0 , the error will ( no file selected) i am sure that pws is not the problem because i already test for which i type http://localhost. pls help me to solve this problem , i already try for two but still cannot solve it. thanks ------------------------------------------------------------------------ [2004-06-21 17:19:55] c dot clix at tiscali dot it I have the solution for the reported problem by "domingodjf at terra dot es": He says that with iis+php he had to generate redirects by javascript. I also had the same problem. I solved the problem when I switched to full absolute URL. For example: header( 'Location: http://' . $_SERVER['HTTP_HOST'] . $path ); I hope this will help. ------------------------------------------------------------------------ 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