+ 1

How do I run my php site on sololearn???

I'm having issues running my php code on sololearn but it runs smoothly on chrome when I use my xampp server

30th Mar 2022, 7:15 PM
Samuel Obasi
Samuel Obasi - avatar
2 Antworten
+ 3
You'll have to create the code as PHP code, not Web code. I think that maybe the reason. Hope it helps!
30th Mar 2022, 7:25 PM
Adil
Adil - avatar
+ 3
PHP codes are not served on a web server. So, if you are trying to create some backend application with user interaction, that won't work around here. It is just a script that is interpreted once by the PHP interpreter and the output is sent back for display.
30th Mar 2022, 7:41 PM
Ani Jona 🕊
Ani Jona 🕊 - avatar