http://bugs.winehq.org/show_bug.cgi?id=8924
--- Comment #17 from jvlad dmda@yandex.ru 2008-09-23 06:25:49 --- Created an attachment (id=16233) --> (http://bugs.winehq.org/attachment.cgi?id=16233) demo to replicate the problem
1. unpack the archive into C:\Program Files\ directory, so 1.bat will appear in C:\Program Files\php5 2. download php5 distro http://www.php.net/distributions/php-5.2.6-Win32.zip 3. unpach the archive into C:\Program Files\php5 directory, so php-cgi.exe will appear in it. You need only php-cgi.exe and php5ts.dll. All the other files from the archive can be safely removed. 4. Now you have C:\Program Files\php5 with the following files: php-cgi.exe, php5ts.dll, 1.bat, 1.php 5. run wine cmd 6. cd C:\Program Files\php5 7. run 1.bat
It works fine under Windows and dumps out phpinfo. It won't work under Wine telling that input file is not specified.