Contoh Menjalakan File PHP Dengan Web Server Apache2 XAMPP di Kali Linux
Contoh Membuat dan Menjalakan File PHP Dengan Web Server Apache2 (XAMPP)
MK Pemrograman WEB II
1. Jalankan Xampp
> sudo ./manager-linux-x64.run
2. Buat Folder didalam htdocs
> sudo mkdir SI-RS51
3. Buat file php
> sudo nano hello.php
4. masukan script berikut pada text editor nano :
<?php
echo "Hello, i'm Geroot"
?>
echo "Hello, i'm Geroot"
?>
tekan ctrl+x lalu Y untuk menyimpan script php
5. Buka browser dan akses file hello.php
http://localhost/SI-RS51/hello.php
install Xampp :
https://geroot-opensource.blogspot.com/2020/10/pengertian-xampp-dan-install-xampp-di.html
Latihan - Latihan PHP :
https://geroot-opensource.blogspot.com/2020/10/latihan-latihan-php.html
Sekian dan Terima Kasih
Mudah bukan!!!:-)
Komentar
Posting Komentar