Skip to content
← Back to Community
PHP with my HTML, CSS, and JS repl
Profile icon
KENNETHTRIPP

So, I've read that Repl.it is planning to add PHP to the HTML, CSS, JS repls. I want to know if they have done that yet. If so how do I use it? And second: If they haven't done that yet there has to be a way to use PHP with HTML, CSS, and JS, so could someone show me how to do that?

Answered by SixBeeps [earned 5 cycles]
View Answer
Voters
Profile icon
thacandy
Profile icon
KENNETHTRIPP
Comments
hotnewtop
Profile icon
SixBeeps

I haven't heard about them adding in PHP to HTML Repls, but there are dedicated PHP Repls that you can add HTML files to and serve them through the server.

Profile icon
KENNETHTRIPP

@SixBeeps Oh, so It's vice-versa? I just add HTML, CSS, and JS to a PHP repl? If so, do I use PHP Web Server or PHP CLI? I am guessing Web Server, but just to be sure.

Profile icon
SixBeeps

@KENNETHTRIPP You'd want the web server.

Profile icon
KENNETHTRIPP

@SixBeeps Ok, thanks!