Since PHP is a server-side language, you need a server environment on your local computer. The easiest option for beginners is XAMPP. XAMPP already bundles the Apache web server, the MariaDB/MySQL database, and PHP, so once you install it, you can start writing PHP right away.
php
<?php
// test.php ဆိုပြီး C:/xampp/htdocs ထဲမှာ သိမ်းပါ။
// Browser မှာ http://localhost/test.php ကိုဖွင့်ပါ။
phpinfo();
?>You should see
An information page appears showing the PHP version, loaded extensions, and a configuration table.