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

qsd's avatar
Level 1

how to deploy lumen on web hosting

Hello,

I am working with lumen. Tumorrow is deadline i finished my work but i dont know how can i run lumen on shared hosting. When I connet to SH with FTP i just have public_html folder there.

0 likes
2 replies
qsd's avatar
Level 1

I follow guide. I have subdomain api i copy all public data to api folder. All other datain sub folder "lumen". Now i need to config $app to get route. i really dont know how to acces lumen folder. Structure:

/api

/lumen

        /bootstrap

                app.php

This is what i did but id doesnt work.

$app = require_once _ DIR _.’/lumen/bootstrap/app.php’;

Please or to participate in this conversation.