1) How to include PHP in the environment variable?

Goto ->The PC -> Properties -> Advance system setting -> Environment variable -> System Variable -> Click Path -> Edit

Then add the path to PHP executable here :


Make sure to save and close everything and then restart the terminal type

php --version

to check if PHP is installed successfully.


Leave a Reply

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