xampp localhost port code example Example: how to use xampp localhost cd my-project php -S localhost:8000