ID: 21833 Comment by: unknown at simplemachines dot org Reported By: dvorobyov at sympatico dot ca Status: Open Bug Type: Documentation problem Operating System: Windows 2000 Server PHP Version: 4.3.0 New Comment:
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] Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2003-01-22 22:34:30] [EMAIL PROTECTED] Is this modification specific to (required for) IIS 5 and not IIS 4? Even so, does adding it still allow IIS 4 to work with PHP CGI? This %s %s information appears in the user comments as well but needs to be put in the manual :) ------------------------------------------------------------------------ [2003-01-22 22:15:54] dvorobyov at sympatico dot ca Sorry, I forgot to include URL: http://aspn.activestate.com//ASPN/Reference/Products/ActivePerl/faq/Windows/ActivePerl-Winfaq6.html Link: How do I configure Microsoft IIS 4.0/IIS 5.0 to support Perl ------------------------------------------------------------------------ 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