How to correctly set up a PHP & MySQL developement workspace on Manjaro?

Put the php file into htdocs of xampp and open it like that? http://127.0.0.1/index.php

Maybe a real LAMP helps also: [HowTo] Install Apache, MariaDB (Mysql), PHP (LAMP)