For y'all who are using PC to railroad train website using PHP too SQL locally on your figurer must endure familiar amongst programs similar XAMPP. But how nearly similar apps on Android? One of most pop is KSWEB, but they are paid app. There are a lot
of other complimentary apps but most of them using outdated version of PHP / SQL. And instantly I volition portion y'all the complimentary Android apps, yet they are using the updated version of PHP too SQL, too most neat are they are opened upward
source, it is Esminis Server Packages (APK).
What I similar from the apps that they provided dissimilar version of servers. For instance PHP server, the app already include PHP 7.20 patch most of other spider web server Android app all the same using PHP 5.xx. Additionally, y'all tin give notice equally good download too utilisation PHP 5.xx instead if y'all want!.
Sorry if I misname the publisher, I get got "Esminis" from their app bundle id :D . The iii Android apps I'm going to portion correct instantly are solely the minimum requirement or mandatory inward social club for us to construct an integrated spider web server thus nosotros tin give notice construct website locally on our Android device using PHP too SQL. They are "HTTP Server Powered past times Apache", "Server for Apache", too "MariaDB Server". You tin give notice download all of them for complimentary on Play Store, but if y'all quest apk file y'all tin give notice honour it at the terminate of thid post.
Installing HTTP Server, PHP Server, too MariaDB Server on Android
Before installing these servers, brand certain y'all get got plenty complimentary infinite inward your Android device internal storage. On my Android device, the iii servers get got amount of +-700 MB of my internal storage.
- Installing PHP. Download too install "Server for PHP" app on your Android device.
You tin give notice download other PHP Server available if y'all want, or but install the latest PHP version provided inward the app. Wait until installation is done (might get got a while)
After the PHP is complete installed, alter the server address selection to "127.0.0.1"
- Installing HTTP server. Download too install "HTTP Server Powered past times Apache" app on your Android device to setup HTTP server.
You tin give notice download other versions, or straight install the latest version provided inward the app. Wait until the installation done (might get got a while).
After the server is complete installed, alter the server address selection to "127.0.0.1".
Now become to the app setting (tap on gear icon), tap on "CGI" section. And banking concern fit the selection to enable CGI from Server for PHP app. This volition enable us to utilisation PHP scripting on the HTTP server.
- Installing MariaDB / SQL server. Download too install "MariaDB Server" app on your Android.
Launch the app, too install the latest MariaDB server provided inward the app or y'all tin give notice download too direct other version. Wait until the server is complete installed.
"Where is MYSQL?" MariaDB is a complimentary too ascension opened upward source projection created to construct amend too faster database server. Now many people are switching from MySQL to MariaDB. What's the divergence betwixt them? Almost nil major is dissimilar except their extension (how nosotros utilisation ascendence to acces them). You tin give notice googling to know to a greater extent than nearly MariaDB too its history.
- Starting the server.
Launch "HTTP Server Powered past times Apache" app, too tap "Start Server" to laid about the HTTP server too PHP. If this is the commencement fourth dimension y'all laid about it, it powerfulness volition get got a while. Launch "MariaDB Server" app, too tap "Start Server" to laid about the SQL / database server thus y'all tin give notice laid about working using database. Done! Now y'all tin give notice access your alive local website past times accessing http://localhost:8000 using your browser. Upload your website files too PHP scripts to SdCard/htdocs/public/ directory.
After the server is complete installed, alter the server address to "127.0.0.1".
How to install phpMyAdmin
Allright that instantly your server is alive on your Android device, y'all desire to utilisation phpMyAdmin to contend your database correct instantly but can't honour it? You get got to install phpMyAdmin manually. Don't worry, follow the next tardily steps:
- Download phpMyAdmin on the official website: www.phpmyadmin.net/downloads/, If y'all are confused y'all tin give notice download it from mirror link at the terminate of this post.
- Extract phpMyAdmin archive file too and movement the root extraction folder to SdCard/htdocs/public/ directory. Note that y'all should rename the phpMyAdmin root folder (phpMyAdminxxxxxxxxx) into something curt similar "pma" thus nosotros tin give notice easily access it through url later.
- Start the HTPP too MariaDB server. Now access phpMyAdmin setup page, I get got renamed my phpMyAdmin root folder to "pma", thus to access it is past times visiting http://localhost:8000/pma/setup/index.php using browser.
Now inward phpMyAdmin setup page, click "New Server ".
- In the "Basics settings" tab, gain total the next fields:
Server hostname: localhost:3306
In the "Server configuration" tab, banking concern fit "Allow logins without a password". After all done, click "Apply" push inward the bottom.
The other tabs are optional, y'all tin give notice gain total it if y'all already an advance user. Besides, no quest to intend things similar extra safety if nosotros solely quest to run servers locally on our Android device for testing / learning role right?
- Now y'all are redirected dorsum to setup index page, click "Display" push inward the bottom, too re-create all the generated configuration file text.
Next, gain a novel empty file using your file manager named "config.inc.php" inward the phpMyAdmin root folder directory (in my instance it is within SdCard/htdocs/public/pma/), too then glue the configuration file text y'all copied at that spot too save.
- Done! Start login to phpMyAdmin past times accessing http://localhost:8000/pma/index.php using your browser. Use "root" equally the username amongst blank/empty password to login.
Esminis Server Apps APK Android apps download link
Tested on: Samsung Milky Way V SM-G313HZ
-> PHPMYADMIN v. 4.7.9-english.tar.gz (5.7 MB)