Tuesday, 27 January 2015

AndroPHP - The Best and Free Web developer App For Android Users

During past few days since I have bought a new Android smart phone - Micromax Canvas 4 Plus A 315, my usage of desktop PC has been very less as I can perform my most of the tasks on my phone itself. Android apps like Kingsoft Office, Picsart, Mxplayer, etc does all the tasks for which I used MS Office, Photoshop, VLC player on my desktop PC. But as a PHP Web Developer I used Dreamweaver and Wamp Server on my desktop for creating websites and web applications. So once a thought came to my mind that can't I just get a PHP server and a PHP, JavaScript, CSS, HTML editor
on my phone. So I just searched on the PlayStore for "PHP server" and a list of PHP servers was in front of me. I just installed the first one but after installing I found that it is only a trial version for just 6 days. Although it worked fine but soon I have to find an another option becuase it was only for 6 days free trial.

So I searched again on PlayStore and then I came to the page of the app named AndroPHP. It was a completely free app according to the details given on the PlayStore and the reviews of other users were also good. So I just downloaded it and ran the app. The home page of the app looked like this:


There was a switch in the center of the screen which starts and stops the server. The app comes with two servers one is for execution for PHP scripts and the other is MySQL server for database management.

Now once when you have activated the server by sliding the switch. You can click on either of the two links shown on home page of AndroPHP app. The first link will be http://localhost:8080, but when the phone or tablet is connected to a wifi network, the link will be something like this http://192.168.43.169:8080 (for accessing the server from the connected device). Clicking on this link shows the index.php file located in the www root folder whose default path will be sdcard/www. You can just replace your projects home page with index.php and run your project on browser by clicking http://localhost:8080 from the home page of AndroPHP.  AndroPHP's default web server prort is 8080.

The second link will be http://localhost:8080/phpmyadmin, but when the phone or tablet is connected to a wifi network, the link will be something like this http://192.168.43.169:8080/phpmyadmin (for accessing the database server from the connected device) . This will open the phpMyAdmin where you have to enter "root" as the username and leave the password field empty. You can use the 'CTRL' + '+' 'CTRL' + '-'  key combination if you have keyboard support for your smart phone or tablet for zooming in and out of the screen. The default port for MySQL server will be 3306.



When you click on the settings button on the home screen of AndroPHP you get four options:



1. Enable updates - You can enable or disable the updates of the AndroPHP app by ticking the check box on the right size of the option
2. Port - You can define the port number for accessing the server.
3. www Path - You can set the www path for storing your project to be run on the server. The default will be /mnt/sdcard/www
4. Root Access - Enable or disable the root access.

The app also provides a hide button for hiding the screen after the server is being switched on or off and an Exit button to stop the application process and close the servers.

It is just a 13.93 MB app and requires nearly 52 MB of App Installation memory of phone to get the app installed. The version of the app which I installed was 1.2.0. It requires an Android 2.2 or higher version for installation. You can just download the official free app from the Playstore from the link given below:
Download AndroPHP PHP and MySQL server

So just enjoy this free app. Have a nice day.

5 comments: