How can I run a php website on railway?
Its saying:
[server:info] Server starting on port 6476
2024/02/22 04:07:39 [error] 50#50: *1 directory index of "/app/" is forbidden, client: 192.168.0.2, server: localhost, request: "GET / HTTP/1.1", host: "samsign-website-production.up.railway.app"
5 Replies
Project ID:
a2d22739-9687-42d3-8501-3596f86c9adb
a2d22739-9687-42d3-8501-3596f86c9adb
Do I need to add a custom start command? I've already setup the php build provider
what folder is your index.php in?
Solution
nvm it works now it was because my file want called index.php sorry
haha that would do it