# "No input file specified" on Apache installation (tested with non-WP site)

**URL:** <https://community.localwp.com/t/no-input-file-specified-on-apache-installation-tested-with-non-wp-site/25854>\
**Category:** Support\
**Tags:** performance, windows-10, apache, htaccess\
**Created:** [June 8, 2021, 12:10pm UTC](https://community.localwp.com/t/no-input-file-specified-on-apache-installation-tested-with-non-wp-site/25854 "2021-06-08T12:10:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![natehawkes](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/natehawkes/32/9247_2.png) [@natehawkes](https://community.localwp.com/u/natehawkes)\
**Post date:** [June 8, 2021, 12:10pm UTC](https://community.localwp.com/t/no-input-file-specified-on-apache-installation-tested-with-non-wp-site/25854/1 "2021-06-08T12:10:17Z")

</div>

### Issue Summary

When creating a non-WordPress site with Apache and PHP version 7.4.1 (removing the WordPress files from the installation), accessing the site returns “No input file specified.” Nginx loads the site properly. However, when Nginx is running, .htaccess won’t work and rewrite rules return a 404 error.

#### Troubleshooting Questions

- **Does this happen for all sites in Local, or just one in particular?**  
All sites that have been tested thus far.

- **Are you able to create a new, plain WordPress site in Local and access it in a Browser?**  
Not with Apache

#### Replication

- Create a new site with Apache and PHP 7.4.1.
- (Optional) Delete WordPress files, and replace `.htaccess` with custom file
- Access in browser

#### System Details

- **Which version of Local is being used?**  
5.10.5+5403

- **What Operating System (OS) and OS version is being used?**  
Windows 10

- **Attach the Local Log**  
Logs don’t seem to report information regarding the site, but can send if required.

---

<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:** [September 6, 2021, 12:10pm UTC](https://community.localwp.com/t/no-input-file-specified-on-apache-installation-tested-with-non-wp-site/25854/2 "2021-09-06T12:10:18Z")

</div>

Closed on September 6, 2021, 12:10pm UTC

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