Ask coding questions

← Back to all posts
1
PHP Downloading instead of executing on a web page.
archerhume (0)

Hi All, I am setting up a website on repl.it but it simply downloads php file. Is this something I can change or will I have to go an alternative route to php.

Commentshotnewtop
1
timmy_i_chen (935)

We made some updates to PHP (well, we made two new "languages"):

https://repl.it/languages/php_cli - New and improved PHP language for command line interface shenanigans. Supports multiple files and syntax highlighting.
https://repl.it/languages/php7 - PHP Web servers! Just like other hosted repls, this allows you to write websites using PHP.

Enjoy!