R
Railway10mo ago
loyahdev

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"
Solution:
nvm it works now it was because my file want called index.php sorry
Jump to solution
5 Replies
Percy
Percy10mo ago
Project ID: a2d22739-9687-42d3-8501-3596f86c9adb
loyahdev
loyahdevOP10mo ago
a2d22739-9687-42d3-8501-3596f86c9adb Do I need to add a custom start command? I've already setup the php build provider
Brody
Brody10mo ago
what folder is your index.php in?
Solution
loyahdev
loyahdev10mo ago
nvm it works now it was because my file want called index.php sorry
Brody
Brody10mo ago
haha that would do it
Want results from more Discord servers?
Add your server