Rabu, 18 Oktober 2023

Hello World PHP XAMPP

  1. Buka aplikasi notepad.
  2. Ketikan kode berikut:
    <?php
    echo "hello world";
    ?>
  3. Kemudian simpan (CTRL+S) dengan nama file Hello.php, pada lokasi XAMPP diinstall, contoh: C:/xampp/htdocs, dan pilih All Files (*.*) pada kotak pilihan Save as type. Tekan tombol Save.
  4. Buka server lokal, contoh: XAMPP Control Panel.
  5. Klik tombol Start di sebelah modul Apache.
  6. Buka browser, navigasikan ke http://localhost/hello.php.

Bibliography

https://www.hostinger.com 

Related Post

PHP Requirements

How To Check PHP Version

The MySQLi Extension Function Summary 1

URL Address PHP MySQL Local Server 1
URL Address PHP MySQL Local Server 2
Topic About PHP
Topic About MySQL

Tidak ada komentar:

Posting Komentar

Various Other Posts