Ask coding questions

← Back to all posts
Working PHP in repl.it
h
Vandesm14 (946)

I was interested in a local app for ssh-ing into servers. There is one, which is PHP. I though that it would be nice to open this up on repl.it, but the standard PHP repl does not work with the file: http://web-console.org/.

Answered by timmy_i_chen (988) [earned 5 cycles]
View Answer
Commentshotnewtop
timmy_i_chen (988)

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.
https://repl.it/languages/php7 - PHP Web servers! Just like other hosted repls, this allows you to write websites using PHP.

Enjoy!

Scoder12 (344)

Can you elaborate on what error you get?

I am a repl.it helper.