How to add both React and PHP to Repl?

I’d like to have a Repl that both uses ReactJS and interacts with a server by fetching PHP scripts.
There are ReactJS and PHP Web Server repl templates, but I don’t think it’s possible to select both at once, or “combine” them.
Is it possible to do such a thing on Replit? How would I go about doing such a thing?

see if you can merge the config from the default .replit and replit.nix files from each template (three dots in top right of files sidebar > show hidden files)

1 Like

I do see the 2 config files, but I’m not entirely sure what you mean by merging them.

I think you would need to make two repls and connect them with an API