Practical uses
- Build server-rendered websites
- Create APIs and business applications
- Develop content-management systems
- Run ecommerce and publishing platforms
A server-side language for building websites and web apps.
PHP runs on the server and is used by a large share of websites, including everything built on WordPress. Modern PHP (8.x) is fast and supports type declarations, and it remains a common skill in web development jobs.
PHP comes with a built-in development web server, so you do not need Apache or nginx while learning.
winget install PHP.PHP.8.3
# Or grab a zip from https://windows.php.net
php --version
# Run a file:
php hello.php
# Start the built-in dev server in a folder:
php -S localhost:8000Learn the basics first, then pick up these tools when a project needs them.