0% found this document useful (0 votes)
789 views8 pages

AwebServer Manual

This document provides instructions for using an application called AWebserver that allows setting up a LAMP stack on Android devices. It includes details on configuring an Apache web server, MariaDB SQL server, and FTP server including document roots, ports, users, and passwords. The application also includes a file editor and logs to help configure and debug the services.

Uploaded by

Kryz Nop
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
789 views8 pages

AwebServer Manual

This document provides instructions for using an application called AWebserver that allows setting up a LAMP stack on Android devices. It includes details on configuring an Apache web server, MariaDB SQL server, and FTP server including document roots, ports, users, and passwords. The application also includes a file editor and logs to help configure and debug the services.

Uploaded by

Kryz Nop
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

AwebServer Manual

Introduction
AWebserver is an application to setup some servers and provide a LAMP solution for Android
platforms.

An Apache server is included and compiled with Php support, MariaDb is provided as Sql server
and also there is a FTP server to access remotely to your htdocs folder.

All the servers can be started independently and they can be configured in their own tab
windows.

To access to the server configuration, the application is divided in Tabs, you can access to those
tabs with the buttons in the top on the menu bar.

There is also a File editor included in the app to easily edit your php code or other documents.

This application is running well and tested from Android version 6 to the actual version at this
time which is Android 14.
Web server, Apache.

The application chosen to provide the web server is the well tested Apache, is a compiled version
for Android systems, very stable and a standard in the world of Web Servers.

In the first tab of the AWebserver you can see and setup some parameters of this server:

-Status: You can see if the Apache server is running and correctly started.

-Address: You can see the address and port assigned when you start the Apache server, it can be
clicked and you can access to the content in the default browser of your android system.

-Port:In this parameter you can configure the port of the Apache server, should be a number
higher than 1024, because AWebserver is not executing as root in the Android system.

-Document root: You can configure the htdocs folder of the Apache server, which is the place
where you have to upload your files and php code.

There are 3 options to configure the Document root when you choose the storage selection:
• -App Internal will be the default option and the folder path is the internal app path, this
is an internal and private folder reserved to the AWebserver app and is not visible by other
apps or explorers

You can upload content to it with the Upload button or by the FTP server, depending on
the Android version, this path may be different, but usually is located at:

/data/data/0/com.sylkat.apache/files/usr/share/apache2/default-site/htdocs

• Internal will be in the internal memory of the phone and can be accessed by other apps
and explorers in android.
You can upload content to it with Upload button or by the FTP server, depending on the
Android version, this path may be different, but usually is located at:
/sdcard/

• External will be the external sdcard of the mobile or tablet.


You can upload content to it with Upload button or by the FTP server.Depending on the
Android version, this path may be different, but usually is located at:
/storage/ID-DEVICE

-Service: To start or stop the web server.

-Web Contents: You can upload contents to the root folder of the web server (htdocs) which is
where the code and html should be to be accessed by web browsers.

The path where you upload the contents is configured in the “Document root” section.

You can select a file to upload and also a Zip file, In such case the application will uncompress
its contents in the htdocs folder.

-Php Config: This is an utility tool to customize he php.ini.


You can add and delete php variables there and customize your php setup.
Logs
Here you can watch the Apache logs of the server, this is very useful to debug your app
sometimes and see many other information in the server start ending.

It has 2 sections:

Access log you can see the requests pages in the server.

Error log will show you Apache internal logs.

You can refresh the logs or clean them with the provided buttons.
Sql server, MariaDb.

The Sql server is MariaDb, is the actual version of the old Mysql server.

You can configure some parameters in this tab:

-Status: You can see if the Sql server is running and correctly started.

-Address: You can see the address and port assigned to the Sql server.

-Admin: When the MariaDb server is started you can see the path and a link to the PhpAdmin
app.

PhpMyAdmin has been installed by default in the AWebserver and is a nice app to administer
your sql server.

You can click in this link to access to it with the default browser on your android device.

Note
The credentials (without quotes) to access
to PhpMyAdmin are :
User: “root”.
Password: “root”
-User: The admin user of the MariaDb sql server is root.

-Password: The password for the admin of the Sql server by default is root, you can change it
with the PhpMyAdmin tool.

-Service: To start or stop the Sql server.


Ftp server, Android.
An Ftp server is provided to upload files easily from any ftp client either your mobile or an
external computer or mobile in the same network.

There few parameters that we can configure in the server:

-Status: You can see if the FTP server is running and correctly started.

-Address: You can see the address and port assigned to the FTP server.

-Port:In this parameter you can configure the port of the FTP server, should be a number higher
than 1024, because AWebserver is not executing as root in the Android system.

-User: The admin user of the FTP server is admin

-Password: The password for the admin of the FTP server, by default is admin, you can change it
here.

-Service: To start or stop the FTP server.


File Editor.
A file editor is included as well, it has very simple features and is useful to examine the content of
your code.

You can load and save files edited with the buttons of the Text Editor app bar:

Is also useful to edit some internal files of the internal path application to customize the servers
for example or just to explore the servers folders and their content.

Note
Is not recommended to edit the template/sample of the apache config file the
httpd.conf_sample file , but sometimes is required to set up some custom
options of Apache, be carefully to don’t break the compatibility overwriting
reserved and required options in that file.

You might also like