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

**URL:** <https://community.localwp.com/t/no-input-file-specified-when-using-apache-windows-10-and-non-primary-drive-i-e-drive-d/28087>\
**Category:** Support\
**Tags:** windows-10, apache\
**Created:** [October 5, 2021, 11:29am UTC](https://community.localwp.com/t/no-input-file-specified-when-using-apache-windows-10-and-non-primary-drive-i-e-drive-d/28087 "2021-10-05T11:29:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmpel](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/rmpel/32/4529_2.png) [@rmpel](https://community.localwp.com/u/rmpel)\
**Post date:** [October 5, 2021, 11:29am UTC](https://community.localwp.com/t/no-input-file-specified-when-using-apache-windows-10-and-non-primary-drive-i-e-drive-d/28087/1 "2021-10-05T11:29:32Z")

</div>

### 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](https://community.localwp.com/uploads/short-url/7AGuc6tXcSkMIIzRghDMyGuOQNL.log) (8.0 KB)

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [October 5, 2021, 5:46pm UTC](https://community.localwp.com/t/no-input-file-specified-when-using-apache-windows-10-and-non-primary-drive-i-e-drive-d/28087/2 "2021-10-05T17:46:54Z")

</div>

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

> [@No input file specified using PHP 7.3.5 or 7.4.1 ... 5.6.39 works](http://community.localwp.com/t/no-input-file-specified-using-php-7-3-5-or-7-4-1-5-6-39-works/20576):
>
> I upgraded to the latest version of Local and now my sites have stopped working with anything but PHP 5.6.39 Even clicking the info icon beside the PHP Version will only work if using 5.6.39. Not sure what is going on here … was working with the previous version of Local 5.2.x I think

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.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [October 7, 2021, 5:47am UTC](https://community.localwp.com/t/no-input-file-specified-when-using-apache-windows-10-and-non-primary-drive-i-e-drive-d/28087/3 "2021-10-07T05:47:18Z")

</div>

Closed on October 7, 2021, 5:47am UTC

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