title: Getting "No input file specified." when trying to set up PHP-FPM under Apache 2.4 (Windows)
body: <p>I'm not having success in setting up PHP-FPM in a specific folder of Apache 2.4 HTTP server.</p>
  
  <p>I've tried to use all three ways to set up PHP-FPM like in this <a href="https://stackoverflow.com/questions/36415930/apache-mod-proxy-fcgi-and-php-fpm-php-cgi-exe-issue-no-input-file-specified">question</a> but all of them resulted in "No input file specified."</p>
  
  <p>I already have PHP 5.6 running as a module in Apache 2.4 server (Windows).
  I would like to upgrade PHP to 7.3.4 for all applications on the server but many of them are not currently ready for this. The decision was to have two PHP versions running at the same time.</p>
  
  <p>PHP 5.4.60 will continue to run as a Apache 2.4 module</p>
  
  <p>PHP 7.3.4 will run as PHP-FPM for specific folder 'd:/www/htdocs/php7/'</p>
  
  <p>I have already run PHP-FPM with:</p>
  
  <pre><code>php-cgi -b localhost:8734
  </code></pre>
  
  <p>(I have also used -C option in the command above but result did not change)</p>
  
  <p>Extract of httpd.conf:</p>
  
  <pre><code>    &lt;VirtualHost *:80&gt;
          DocumentRoot "d:/www/htdocs/"
          &lt;Directory "d:/www/htdocs/php7/"&gt;
              &lt;Files ~ "\.(php|phtml)$"&gt;
                  SetHandler "proxy:fcgi://localhost:8734/"
              &lt;/Files&gt;
          &lt;/Directory&gt;
      &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Apache error log shows (among other 'sending env var' lines):</p>
  
  <pre><code>    [proxy:debug] [pid 1308:tid 760] mod_proxy.c(1246): [client 10.16.32.48:49607] AH01143: Running scheme fcgi handler (attempt 0)
      [proxy_ajp:debug] [pid 1308:tid 760] mod_proxy_ajp.c(739): [client 10.16.32.48:49607] AH00894: declining URL fcgi://localhost:8734/D:/www/htdocs/html/phpinfo.php
      [proxy_fcgi:debug] [pid 1308:tid 760] mod_proxy_fcgi.c(1019): [client 10.16.32.48:49607] AH01076: url: fcgi://localhost:8734/D:/www/htdocs/html/phpinfo.php proxyname: (null) proxyport: 0
      [proxy_fcgi:debug] [pid 1308:tid 760] mod_proxy_fcgi.c(1028): [client 10.16.32.48:49607] AH01078: serving URL fcgi://localhost:8734/D:/www/htdocs/html/phpinfo.php
      [proxy:debug] [pid 1308:tid 760] proxy_util.c(2317): AH00942: FCGI: has acquired connection for (*)
      [proxy:debug] [pid 1308:tid 760] proxy_util.c(2371): [client 10.16.32.48:49607] AH00944: connecting fcgi://localhost:8734/D:/www/htdocs/html/phpinfo.php to localhost:8734
      [proxy:debug] [pid 1308:tid 760] proxy_util.c(2580): [client 10.16.32.48:49607] AH00947: connected  to localhost:8734
      [proxy:trace2] [pid 1308:tid 760] proxy_util.c(3014): FCGI: fam 2 socket created to connect to *
      [proxy:debug] [pid 1308:tid 760] proxy_util.c(3046): AH02824: FCGI: connection established with 127.0.0.1:8734 (*)
      ... (many 'sending env var' lines) ...
      [proxy_fcgi:trace8] [pid 1308:tid 760] mod_proxy_fcgi.c(680): [client 10.16.32.48:49607] .....s..         0106000100730500                
      [proxy_fcgi:trace4] [pid 1308:tid 760] util_script.c(568): [client 10.16.32.48:49607] Headers from script 'phpinfo.php':
      [proxy_fcgi:trace4] [pid 1308:tid 760] util_script.c(571): [client 10.16.32.48:49607]   Status: 404 Not Found
      [proxy_fcgi:trace4] [pid 1308:tid 760] util_script.c(571): [client 10.16.32.48:49607]   X-Powered-By: PHP/7.3.4
      [proxy_fcgi:trace4] [pid 1308:tid 760] util_script.c(571): [client 10.16.32.48:49607]   Content-type: text/html; charset=UTF-8
      [proxy_fcgi:trace8] [pid 1308:tid 760] mod_proxy_fcgi.c(680): [client 10.16.32.48:49607] FastCGI header (8 bytes)
      [proxy_fcgi:trace8] [pid 1308:tid 760] mod_proxy_fcgi.c(680): [client 10.16.32.48:49607] ........         0103000100080000                
      [proxy:debug] [pid 1308:tid 760] proxy_util.c(2332): AH00943: FCGI: has released connection for (*)
  </code></pre>
  
  <p>What am I missing here?</p>