- 2
i was so boring and tired bc I've problem that i couldn't run my php script on android. pleas tell me how to fix this. thank you
how to fix php problem on android. thank you for ur voice and thank you guys in advance
6 ответов
+ 3
You should use Termux instead of Sololearn. Install Termux from play store => type
$ apt-get update && apt-get upgrade
$ apt-get install php
$ php
It's the best way for compiling PHP. Have some chocolate 🍫🍰🍬
Hop
+ 3
I don't know PHP.
+ 2
You can do it via Python. Ayan knows Python 😂.
Go to that folder where your PHP file is located. Type
$ python -m http.server 8080
Then go to browser and open http://0.0.0.0:8080/filename.php
Before that, install python using apt-get install python
+ 1
ok , but is it possible that i can see my php script on any browser as well if do this ??
+ 1
it does work brother thank a lot for ur voice,
0
what?really?ok i got this 😊
so may i know what programming language did u learn bro