PHP Environment Variables Windows 10/11 Xampp

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

How to Set PHP Path in Environment Variables Windows 11|10 Xampp

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

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

Step 1 – Open Windows 11/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 11|10

Restart your windows 11|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

AuthorDevendra Dode

Greetings, I'm Devendra Dode, a full-stack developer, entrepreneur, and the proud owner of Tutsmake.com. My passion lies in crafting informative tutorials and offering valuable tips to assist fellow developers on their coding journey. Within my content, I cover a spectrum of technologies, including 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. Whether you're starting out or looking for advanced examples, I provide step-by-step guides and practical demonstrations to make your learning experience seamless. Let's explore the diverse realms of coding together.

Leave a Reply

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