H
H
HeartOfProgrammer2016-02-22 21:11:58
Laravel
HeartOfProgrammer, 2016-02-22 21:11:58

Why windows does not see the path to the php 5.6 folder?

Can't install laravel via composer. The PATH environment variables have a path like this "D:\OpenServer\modules\php\PHP-5.6\php.exe", when trying to install laravel via composer with the composer create-project laravel/laravel "blog" "5.1.*" command, it gives an error ""php" is not an internal or external
command, operable program or batch file.
"
At first I thought PHPstorm was running, I decided to check it in sublime text 3, I tried it through the terminal and it gives the same error.
What is it related to?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Muhammad, 2016-02-22
@HeartOfProgrammer

The path must be written to the folder

N
Nazar Mokrinsky, 2016-02-22
@nazarpc

Folders should be in paths, not files.
I.e:

D:\OpenServer\modules\php\PHP-5.6\

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question