Loading Non WordPress PHP files in Bedrock

I’m working on a legacy site, and unfortunately there is much functionality that lives outside of WordPress.

I’ve updated the Bedrock “web” directory to “html” and have updated the necessary references so that things will work with the way the production server is setup.

In the “html” folder I’ve created a “legacy” folder where I have moved all these legacy scripts.

I’m having trouble loading these PHP files from within the “legacy” directory. If I create a text file in the directory, it loads fine via entering the url. However, any PHP files result in a WordPress 404 page.

I appreciate any help you can provide. Thanks!