uh hello guys welcome to this video so
in this video I will show you how to fix
this error which comes in the terminal
which if you execute the PHP command
then it comes PHP it is not recognized
as an ex external or internal command so
this issue comes because you haven't
added the path inside your environment
variables you have installed
PHP I am assuming you should need to go
to exam if you are on Windows
for so if you haven't installed PHP
first of all go to this website and
install this ex exam control panel which
comes with it is available for Mac Linux
windows so depending upon your operating
system just install the CXC file Ive
already installed it so by default exam
is located inside your C directory and
then automatically it creates its folder
examp and inside this it contains a PHP
folder so if you just say this PHP
folder and this is actually the path
here which is C exam and PHP so you just
need to copy this path that this path we
need to add this in order to fix that
error so just copy this path and also if
you just type examp you will see this
exam control panel and this is your
Apache server which comes with PHP my
server as well so just go to your
environment variables just type
environment variables and this window
will open and go to this environment
variable section right here and then go
to your path here this is your Global
path variable click on edit and then
click on this new button right here to
add a new path and simply paste that
path here C exam
PHP so step by step process you need to
follow so just add this path in the pH
uh this path here click on
okay and then restart your
terminal just close it and restart once
again and type the same command PHP so
you'll now see the command will get
successful so now you will be able to
execute the PHP
command so you can see PHP D- version so
it will tell you the exact version which
is installed which is
4.2.4 sorry PHP
8.2.4 and it is
actually in this way so this command
will be fixed so in this way you can
access or fix that error message so
first of all just install the exam if
you haven't installed it it comes with
this exe file so depending upon the
operating system so if you are on
64bit simply click it and then it will
automatically your download will start
it's a simple exe file which
automatically downloads exam control
panel on your system so it will come
you'll see it's a exe file
144.5 step process you just need to
follow this and then the error will be
fixed so thank you very much guys for
watching this video video and also check
out my website as well free mediat
tools.com uh which contains thousands of
tools regarding audio video an image and
I will be seeing you guys in the next
video