Install termux apache php webserver di android phone

enter image description here Step 1 - Install Termux

https://f-droid.org/en/packages/com.termux

Step 2 - Install PHP dan Apache

pkg install git -y && 
cd ~/ && 
git clone https://github.com/gungunpriatna/termux-php-apache2-setup.git && 
cd ~/termux-php-apache2-setup && 
bash setup && 
cd ~/ && 
rm -rf termux-php-apache2-setup
apachectl

Step 3 - Install mariadb dan start service

pkg install mariadb
mysqld_safe &

Step 4 - Setting root user

mysql -u root
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('user123456');
FLUSH PRIVILEGES;
QUIT;

login dengan root password

mysql -u root -p

Step 5 - install phpmyadmin

pkg install phpmyadmin
php -S localhost:8088 $PREFIX/share/phpmyadmin