- 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

14th Jun 2019, 10:04 AM
engel
engel - avatar
6 odpowiedzi
+ 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
14th Jun 2019, 10:08 AM
Ayan Fox
Ayan Fox - avatar
+ 3
I don't know PHP.
14th Jun 2019, 11:41 AM
Ayan Fox
Ayan Fox - avatar
+ 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
14th Jun 2019, 5:40 PM
Ada Lovelace
Ada Lovelace - avatar
+ 1
ok , but is it possible that i can see my php script on any browser as well if do this ??
14th Jun 2019, 10:34 AM
engel
engel - avatar
+ 1
it does work brother thank a lot for ur voice,
15th Jun 2019, 1:05 PM
engel
engel - avatar
0
what?really?ok i got this 😊 so may i know what programming language did u learn bro
14th Jun 2019, 11:59 AM
engel
engel - avatar