---
title: 'how to download and install php 8.5 on windows 11'
source: 'https://youtube.com/watch?v=nIMBYPGDR2I'
video_id: 'nIMBYPGDR2I'
date: 2026-06-21
duration_sec: 185
---

# how to download and install php 8.5 on windows 11

> Source: [how to download and install php 8.5 on windows 11](https://youtube.com/watch?v=nIMBYPGDR2I)

## Summary

This tutorial demonstrates how to download and install the latest version of PHP (8.5.0) on a Windows 11 machine. The process involves downloading the thread-safe zip version, extracting it to the C drive, and adding the folder path to the system's environment variables.

### Key Points

- **Download PHP** [0:02] — Open browser, go to php.net, click Downloads, select the latest version (PHP 8.5.0), choose the thread-safe zip version.
- **Extract and Rename** [0:35] — Create a folder (e.g., PHP), extract the zip there, rename the directory to 'PHP 8.5' (replace spaces with hyphens), then move it to the C drive.
- **Add to PATH** [1:56] — Open Environment Variables, edit the Path variable, remove any old PHP entry, add the new PHP folder path (e.g., C:\PHP 8.5), and apply changes.
- **Verify Installation** [2:32] — Open Command Prompt or bash, type 'php -v', and confirm the installed version (PHP 8.5.0) is displayed.

## Transcript

Asalamu alayikum. In this video, we
learn how to install the latest version
of PHP on Windows 11 machine. So, open
your favorite browser. I am Windows
Chrome. Type here PHP.
And from here, go to the PHP. Click on
the official website of the PHP. And
click on downloads. And you we can see
here the latest version of PHP is PHP
8.5.0.
So we have here two versions un uh non
thread save and thread save version. I
will go for thread save version and I'll
click on zip.
It will download. It will take a little
time according to your internet speed
and click on folder.
I'll just create EHP
and inside that I'll just extract here.
Just read the zip. Go back and
I'll rename this directory to
EHP 8.5.
cut this and go to your C drive. So you
can see here I have multiple versions
like 8 410 8.4.14. I'll just paste it
here and I'll just replace this space
with hyphen.
So
click it and
go to your env
click on environment variables and from
here click on path here and you can see
here we have
uh
this right now
PHP 8.3.4 for uh 3.14. So I'll copy this
just the path of this and go to the
environment variables. Just delete this.
Click on new and just paste it here.
Click on okay. Okay. Okay. And I'll just
open bash or command line command prompt
and type here PHP-V.
So you can see we have installed the
latest version of PHP PHP 8. uh zero on
this machine. So good luck guys. If you
have any curious sation, feel free to
comment below, subscribe channel, like
the video, also watch how to install
vamp on Windows 11 machine, how to
install the add-ons on vamp and the
other stuff on this channel. Thank you.
