"No input file specified" when using Apache, Windows 10 and non-primary drive (i.e. drive D:)

Issue Summary

Using a local site with Apache, on an external (or secondary) drive, in Windows, results in error “No input file specified”

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    All sites that run on Apache in D:\Development (or any path other than on the Primary drive)

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    Not if using Apache on secondary harddisk.

Replication

  1. create site, advanced
  2. use a path on a secondary drive (D:, E: anything but C:)
  3. set-up with Apache
  4. ANY PHP version will do
  5. ANY MySQL version will do

System Details

  • Which version of Local is being used?
    6.1.4+5521

  • What Operating System (OS) and OS version is being used?
    Windows 10 Home

Log file: (nothing of interest, but here it is)
local-lightning.log (8.0 KB)

Thanks for letting us know @rmpel! – This is a known limitation of running Apache, under Windows, across different partitions:

There’s nothing that Local can do except consider a containerized solution since this is specific to how Apache is built and the way in which it doesn’t account for Windows and the underlying filesystem.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.