Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mark_kcc's avatar

Laravel 5.4 index.php

Hi. I have picked up a project which uses Laravel 5.4 and the index.php is in the root folder. I can get the site running by moving the file to the public folder and updating the paths to autoload.php & app.php but the paths for anything in the public folder do not work and wondered if this would be as a result of the change?

Anyone know how to get this working by keeping the index.php in the root?

Thanks

0 likes
2 replies

Please or to participate in this conversation.