Ask coding questions

← Back to all posts
php downloads
TymoteuszMoryto (0)

Why my PHP code downloads instead of executing?

timmy_i_chen (1097)

We fixed this! :)

We made some updates to PHP (well, we made two new "languages"): - New and improved PHP language for command line interface shenanigans. Supports multiple files. - PHP Web servers! Just like other hosted repls, this allows you to write websites using PHP.


timmy_i_chen (1097)

Is it in an HTML repl? PHP needs to run on a server (back end) to work; can't run PHP on the client (with HTML/CSS/JS repls) :(