If you are using cygwin you may get the following error
After some investigation I found out that it doesn't throw exception if I run it in built-in windows cmd.
Microsoft docs say that error #267 occurs when invalid directory names are used. So I guess the reason is unix style paths in cygwin.
Thereby try to use composer in built-in cmd if you encounter #267 error.
P.S. You might want to add
while installing stuff via composer.admin@Win7-64:/var/www$ php composer.phar install [ErrorException] proc_open(): CreateProcess failed, error code - 267
After some investigation I found out that it doesn't throw exception if I run it in built-in windows cmd.
Microsoft docs say that error #267 occurs when invalid directory names are used. So I guess the reason is unix style paths in cygwin.
Thereby try to use composer in built-in cmd if you encounter #267 error.
P.S. You might want to add
C:\cygwin\bin
to your PATH
environment variable.