ID: 21833 Updated by: [EMAIL PROTECTED] Reported By: dvorobyov at sympatico dot ca -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Windows 2000 Server PHP Version: 4.3.0 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. Maybe %s %s is optional under some circumstances but it works with it under all circumstances so I added it to the docs. Previous Comments: ------------------------------------------------------------------------ [2005-03-29 11:35:26] [EMAIL PROTECTED] The use of %s used to be in the docs but was removed by Goba roughly three years ago. http://cvs.php.net/diff.php/phpdoc/en/chapters/Attic/install.xml?sa=1&r1=1.82&r2=1.83 By the sounds of it, the use of %s sounds optional but I wonder under which (if any) conditions it's required. This bug report may be open for a long time... :) ------------------------------------------------------------------------ [2003-12-08 15:42:38] unknown at simplemachines dot org May I request that, if anything is changed, it is done using "%s" %s NOT %s %s? The reason for this (and this holds true for Perl too!) is that if you have a script named, for example, C:\Somewhere With A Space\www\test.php, just using %s will fail. (C:\Somewhere not found.) However, I have found that at least IIS 5, IIS 5.1, and IIS 6 all handle it properly without such arguments. -[Unknown] ------------------------------------------------------------------------ [2003-01-23 13:30:13] cg at gordimer dot net %s %s had to be added in the application extension panel before PHP 4, but afterwards it has always worked without. The comment about %s even had been in the manual if I remember correctly. I think this is not a general problem, if it was, there were tons of bug reports on this - here it works on IIS 4, 5 and 5.1. Christoph ------------------------------------------------------------------------ [2003-01-23 09:47:36] dvorobyov at sympatico dot ca Thank you for responding to my report! Well, first of all, I must say that I am PHP beginner with good Perl/CGI programming experience. I downloaded PHP 4.3.0 for Win32 (not MSI install, just files for manual installation), unpacked it and configured everything as it was described in the install.txt. Then I create a small index.php and place there <?php phpinfo(); ?> to test the installation. It didn't work (No input file). So I tried this trick - it worked. That is how it was. This morning I tried again to remove these %s and again I received an error. Put them back - everything is OK. It can be easily tested - just create another website in Internet Service Manager, configure default application with .php mapping but without %s and place index.php as a default document. That is exactly how I did it. I think this problem also relates to IIS 4.0 and higher. ------------------------------------------------------------------------ [2003-01-22 22:38:02] [EMAIL PROTECTED] I have *NOT* experienced this requirement with PHP installed as a CGI on my Win2K/IIS5.0 installation. (I just have "c:\php\php.exe" entered in my IIS5.0 setup). Some research needs to be done to determine when and why it is necessary. ------------------------------------------------------------------------ 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/21833 -- Edit this bug report at http://bugs.php.net/?id=21833&edit=1