Web development is very interesting things for young
generation. Everyone want to know how to design a website or development a
Website. There are a lot of online
tutorials About web development. Anyone can learn web development to see the tutorials. Usually everyone using
pc for learn or develop A web project. you do not have a pc? No problem! You can do it by your Android phone if you
want. Just need to make web development Environment on Your Android phone.
In this Tutorial I am going to share, how to make Web server
and how to run html page.
First we need to know What can we do with Android web
server?
- Developed Html Page with css
- Run JavaScript
- Run php code
- Text your code
- Develop full website with Html, css, php & javaScript
- You can Also use mySql database with phpmyAdmin
- Install wordpress on your Android phone.
At this part we know about requirements :
- Web server Android app ( we use palapa web server)
- Es File manager for unzip Zip file
- Internet ( only need 1st time for installations)
- Internal memory should not be less than 70MB!
- ARM & Intel (x86) based processor
- Minimum Android 2.2 Froyo
Features:
- Lighttpd 1.4.35
- PHP 5.5.15
- MySQL 5.1.69
- MSMTP 1.4.32- Web Admin 2.1.0
Ok. Let’s star to do it.
First we need palapa web server app.It’s free And best
webserver app for Android. You can
download easily from Playstore. Open Playstore and search with name “ palapa
web server “. Then click on App and install it. After successfully installed open
palapa web server.
Now you need download some package file.
Click on the install button for install it.
PhpmyAdmin for the database to be configured manually. First,
it must be downloaded phpmyadmin. The
download link PhpmyAdmin4.0.10.16-English.zip
After successfully downloaded , open this zip file with ES file manager.
Then extract all includes file.
After that Select all extract File And copy / cut it.. Now past into SDCard
0 > psw > phpmyAdmin.
Done. Now ready to use it. To start your
web server it’s very simple. Just open the palapa web server then click on the Start
all services Button. A little later, it will be launched.
Now run A HTML file :
Open ES file manager and go to Sdcard0> psw> www
folder. Then create a Html file with name index.html into www folder.
Write simple html code for hello world! Then save it.
To run this page open your phone browser ( not opera /
uc) . Type url “127.0.0.1:8080 “
See it…. …
Note: no need Internet connection to browse by palapa web
server.
Some Important Information:
# Default Document Root (htdocs)
- Path : /sdcard/pws/www/
# Default URL
- Address : http://127.0.0.1:8080
# Web Admin Informations
- Address : http://127.0.0.1:9999
- Username : admin
- Password : admin
# MySQL Informations
- Host : localhost (127.0.0.1)
- Port : 3306
- Username : root
- Password : adminadmin (if not working, try to reset MySQL
user table from Database Settings page)..
I really like your writing style, great information, thankyou for posting.
ReplyDeletesell used cellphones
How can I create a database?
ReplyDeletehi, great tutorial.
ReplyDeletei would like to know how to enable root access to mysql, since i am trying to get data from my sql remotely and i am getting following error:
Host 'xx.xx.xx.xx' is not allowed to connect to this MySQL server
than you.
I'm using Palapa Web Server App. Really nice but An inner iptables port redirection feature would be nice so we can run on port 80. I ran it in root mode (with su consent) but customers were still denied a connection. The fantastic thing is it’s free and works very well. Thanks~ Anne from cross platform mobile app development
ReplyDelete