How to display regular *.php files from inside the public folder
I have a project in which everything is built in Laravel. I also have a small module that was build using regular php routes. I need to do a short demonstration of what I currently have but also of the old module. I am in a time crunch and won't have enough time to import everything into laravel although the next thing in my check list is to import that module in the project.
So, I need to temporarily make it work somehow. Is it possible?
@markvdputten what's your server setup and environment? Most likely it's a htaccess/nginx setting. I'm using homestead and putting a test.php file in /public that just contains phpinfo(); displays fine when going to http://mysite.dev/test.php
@markvdputten Were you able to solve this. I am facing a similar issue on my server, where php files inside public folder gives me 404. Works fine on local.
@tgugnani for me it was the other way around if I remember right, it did not work locally but worked on the server... but it is a while back to be fair...