PHP Environment Variables Windows 10 Xampp

PHP Environment Variables Windows 10 Xampp

Set PHP environment variables windows 10 xampp; Through this tutorial, you will learn how to set or add PHP environment variables in windows 10 xampp.

How to Set PHP Path in Environment Variables Windows 10 Xampp

Follow the following steps and set php environment variables windows 10 xampp:

  • Step 1 – Open Windows 10 Environment Setting
  • Step 2 – Edit Environment Setting
  • Step 3 – Edit System Environment Variable Path
  • Step 4 – Add PHP Path
  • Step 5 – Restart Windows 10
  • Step 6 – Open Command Prompt and Check PHP Version

Step 1 – Open Windows 10 Environment Setting

First of all, visit your system bottom search bar and search Environment Variables; as shown below picture:

Step 2 – Environment Setting

Then Click on the environment variable setting; as shown below picture:

Step 3 – Edit System Environment Variable Path

Edit system environment variable path; as shown below picture:

Step 4 – Add PHP Xampp Path

Add/set PHP xampp path in environment setting; as shown below picture:

Note that; we have installed xampp in D directory.

Step 5 – Restart Windows 10

Restart your windows 10 system.

Step 6 – Open Command Prompt and Check PHP Version

Now, open your command prompt and run the following command to check php version:

php -v

Recommended PHP Tutorials

AuthorAdmin

My name is Devendra Dode. I am a full-stack developer, entrepreneur, and owner of Tutsmake.com. I like writing tutorials and tips that can help other developers. I share tutorials of PHP, Python, Javascript, JQuery, Laravel, Livewire, Codeigniter, Node JS, Express JS, Vue JS, Angular JS, React Js, MySQL, MongoDB, REST APIs, Windows, Xampp, Linux, Ubuntu, Amazon AWS, Composer, SEO, WordPress, SSL and Bootstrap from a starting stage. As well as demo example.

Leave a Reply

Your email address will not be published. Required fields are marked *