An open API service indexing awesome lists of open source software.

https://github.com/masterwifinetworksolution/termux-php-apache2-setup


https://github.com/masterwifinetworksolution/termux-php-apache2-setup

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

Repositori untuk setup PHP dan Apache2 di android menggunakan Termux.

## Instalasi
Untuk instalasi php dan apache2. Buka termux, lalu run command ini:

```
pkg install git -y && cd ~/ && git clone https://github.com/masterwifinetworksolution/termux-php-apache2-setup.git && cd ~/termux-php-apache2-setup && bash setup && cd ~/ && rm -rf termux-php-apache2-setup
```
## Test Instalasi
Cek versi php:
```
php -v
```
![cek versi php](image/check-php-version.png)

Untuk menguji apakah PHP bisa dirunning. Buat file index.php:
```
echo "" > storage/shared/htdocs/index.php
```

start server:
```
apachectl
```

![tes running server](image/tes-run.png)