Add XAMPP PHP to Environment Variables in Windows 10

If you’re using XAMPP on your Windows 10 machine, and would like to add the php command so that it’s usable in command prompt, you’re in the right place.

Start by typing in Environment Variables in your Search and click on the Edit the system environment variables result.

--

--

--

Author of An Illustrative Introduction to Algorithms. A Software Engineer with a B.S. in Computer Science, a minor in Biology, and a passion for learning.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Simplest way to setup NGINX with Docker Compose

ILM: Data Rollover in ElasticSearch

SQL and noSQL

Intro to the SymPy library for Python

A 3d spiraling tube with a rainbow gradient

ROCKtropia Virtual World — Blockchain Election Results.

Starting with Docker

10 tips to improve programming skills and become a better developer

Lifting Performance When Displaying Points of Interest: Vector Tiles and Clustering

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Dino Cajic

Dino Cajic

Author of An Illustrative Introduction to Algorithms. A Software Engineer with a B.S. in Computer Science, a minor in Biology, and a passion for learning.

More from Medium

Difference between if, switch statements and match expression in PHP

How To Enable PHP Debugging with XDebug and Visual Studio Code (Ubuntu)

XAMPP in VS Code with Open PHP/HTML/JS In Browser (Windows)

PHP functions strcspn() and strspn()