Jan 29, 2026
## Chapter 2: Your first PHP program (CLI)
Goal of this chapter: write one tiny file and run it with `php file.php` so you trust your setup.
Create a file named `hello.php`:
```php
<?php
echo "Hello from PHPn";
```
Run it:
```bash
php hello.php
```
If you see the text, your install is correct.
---