-
I crate a mini test project to serve my older php project via roadrunner but when I start rr server and open browser it downloads the index.php file and does not execute it at all. .rr.yaml
worker.php
index.php in shop directory
anyone can explain me how to serve php project with rr server? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Hey @DrjavaB 👋 |
Beta Was this translation helpful? Give feedback.
Glad to hear that 👍
With RR you have to create a worker. It is really simple since we're strictly following
PSR-7
modern approach. Here you may find a step-by-step instruction: linkWithout worker mode, you have to use
PHP-FPM
,apache_mod
,nginx
, etc. We're working on a modern solution, but it'll be presented next year.