php.exe win32 invalid application error while installing composer
solution
=========
composer create-project --stability=dev --prefer-dist yiisoft/yii2-app-basic C:\xampp\htdocs\splp
-------------------
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\cda>cd C:\xampp\php
C:\xampp\php>composer create-project --stability=dev --prefer-dist yiisoft/yii2-
app-basic C:\xampp\htdocs\splp
Installing yiisoft/yii2-app-basic (dev-master ebfe2aec0ca05aa3e27c85c10f6bb6e7f8
c83253)
[InvalidArgumentException]
Project directory C:/xampp/htdocs/splp/ is not empty.
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--r
epository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no
-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vc
s] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<vers
ion>]
C:\xampp\php>composer create-project --stability=dev --prefer-dist yiisoft/yii2-
app-basic C:\xampp\htdocs\splp
Installing yiisoft/yii2-app-basic (dev-master ebfe2aec0ca05aa3e27c85c10f6bb6e7f8
c83253)
- Installing yiisoft/yii2-app-basic (dev-master master)
Downloading: 100%
Created project in C:\xampp\htdocs\splp
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing yiisoft/yii2-composer (dev-master e882cc3)
Downloading: 100%
- Installing codeception/verify (0.3.1)
Downloading: 100%
- Installing myclabs/deep-copy (1.5.1)
Downloading: 100%
- Installing codeception/specify (0.4.3)
Downloading: 100%
- Installing bower-asset/jquery (2.2.4)
Downloading: 100%
- Installing ezyang/htmlpurifier (v4.8.0)
Downloading: 100%
- Installing bower-asset/yii2-pjax (v2.0.6)
Downloading: 100%
- Installing bower-asset/punycode (v1.3.2)
Downloading: 100%
- Installing bower-asset/jquery.inputmask (3.2.7)
Downloading: 100%
- Installing cebe/markdown (dev-master 04bfcaa)
Downloading: 100%
- Installing yiisoft/yii2 (dev-master 7c2fc41)
Downloading: 100%
- Installing swiftmailer/swiftmailer (5.x-dev 0b3e604)
Downloading: 100%
- Installing yiisoft/yii2-swiftmailer (dev-master b0f7f9f)
Downloading: 100%
- Installing sebastian/diff (dev-master 13edfd8)
Downloading: 100%
- Installing sebastian/recursion-context (dev-master 7ff5b1b)
Downloading: 100%
- Installing sebastian/exporter (dev-master 42c4c2e)
Downloading: 100%
- Installing sebastian/comparator (dev-master 937efb2)
Downloading: 100%
- Installing behat/gherkin (dev-master faf6316)
Downloading: 100%
- Installing symfony/polyfill-mbstring (dev-master 988cbed)
Downloading: 100%
- Installing symfony/dom-crawler (dev-master cec494c)
Downloading: 100%
- Installing symfony/css-selector (dev-master 7a3ee9a)
Downloading: 100%
- Installing symfony/browser-kit (dev-master 014c0d1)
Downloading: 100%
- Installing symfony/yaml (dev-master 6e73e8c)
Downloading: 100%
- Installing symfony/event-dispatcher (dev-master 5382f4c)
Downloading: 100%
- Installing symfony/console (dev-master 43c5f01)
Downloading: 100%
- Installing symfony/finder (dev-master ad1b54e)
Downloading: 100%
- Installing psr/http-message (dev-master f6561bf)
Downloading: 100%
- Installing guzzlehttp/psr7 (dev-master 64862e8)
Downloading: 100%
- Installing sebastian/version (1.0.6)
Downloading: 100%
- Installing sebastian/environment (1.3.x-dev be2c607)
Downloading: 100%
- Installing phpunit/php-token-stream (dev-master cab6c6f)
Downloading: 100%
- Installing phpunit/php-text-template (1.2.1)
Downloading: 100%
- Installing phpunit/php-file-iterator (dev-master 6150bf2)
Downloading: 100%
- Installing phpunit/php-code-coverage (2.2.x-dev eabf68b)
Downloading: 100%
- Installing sebastian/global-state (1.1.1)
Downloading: 100%
- Installing doctrine/instantiator (dev-master 416fb8a)
Downloading: 100%
- Installing phpunit/php-timer (1.0.8)
Downloading: 100%
- Installing webmozart/assert (dev-master 8444f2a)
Downloading: 100%
- Installing phpdocumentor/reflection-common (dev-master 144c307)
Downloading: 100%
- Installing phpdocumentor/type-resolver (0.2)
Downloading: 100%
- Installing phpdocumentor/reflection-docblock (3.1.0)
Downloading: 100%
- Installing phpspec/prophecy (dev-master d883566)
Downloading: 100%
- Installing phpunit/phpunit-mock-objects (2.3.x-dev ac8e7a3)
Downloading: 100%
- Installing phpunit/phpunit (4.8.x-dev 41433b0)
Downloading: 100%
- Installing codeception/base (2.2.x-dev e1976ee)
Downloading: 100%
- Installing bower-asset/bootstrap (v3.3.7)
Downloading: 100%
- Installing yiisoft/yii2-bootstrap (dev-master f41768b)
Downloading: 100%
- Installing yiisoft/yii2-debug (dev-master 721045a)
Downloading: 100%
- Installing bower-asset/typeahead.js (v0.11.1)
Downloading: 100%
- Installing phpspec/php-diff (dev-master 0464787)
Downloading: 100%
- Installing yiisoft/yii2-gii (dev-master fb52694)
Downloading: 100%
- Installing fzaninotto/faker (dev-master 7ead3ef)
Downloading: 100%
- Installing yiisoft/yii2-faker (dev-master 6e6eb43)
Downloading: 100%
symfony/browser-kit suggests installing symfony/process ()
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/event-dispatcher suggests installing symfony/http-kernel ()
symfony/console suggests installing psr/log (For using the console logger)
symfony/console suggests installing symfony/process ()
symfony/console suggests installing symfony/filesystem ()
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
codeception/base suggests installing flow/jsonpath (For using JSONPath in REST m
odule)
codeception/base suggests installing phpseclib/phpseclib (for SFTP option in FTP
Module)
codeception/base suggests installing league/factory-muffin (For DataFactory modu
le)
codeception/base suggests installing league/factory-muffin-faker (For Faker supp
ort in DataFactory module)
codeception/base suggests installing symfony/phpunit-bridge (For phpunit-bridge
support)
Writing lock file
Generating autoload files
> yii\composer\Installer::postCreateProject
chmod('runtime', 0777)...done.
chmod('web/assets', 0777)...done.
chmod('yii', 0755)...done.
C:\xampp\php>cd c:/xampp/htdocs/splp
c:\xampp\htdocs\splp>composer require "dektrium/yii2-user:0.9.*@dev"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
solution
=========
composer create-project --stability=dev --prefer-dist yiisoft/yii2-app-basic C:\xampp\htdocs\splp
-------------------
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\cda>cd C:\xampp\php
C:\xampp\php>composer create-project --stability=dev --prefer-dist yiisoft/yii2-
app-basic C:\xampp\htdocs\splp
Installing yiisoft/yii2-app-basic (dev-master ebfe2aec0ca05aa3e27c85c10f6bb6e7f8
c83253)
[InvalidArgumentException]
Project directory C:/xampp/htdocs/splp/ is not empty.
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--r
epository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no
-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vc
s] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<vers
ion>]
C:\xampp\php>composer create-project --stability=dev --prefer-dist yiisoft/yii2-
app-basic C:\xampp\htdocs\splp
Installing yiisoft/yii2-app-basic (dev-master ebfe2aec0ca05aa3e27c85c10f6bb6e7f8
c83253)
- Installing yiisoft/yii2-app-basic (dev-master master)
Downloading: 100%
Created project in C:\xampp\htdocs\splp
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing yiisoft/yii2-composer (dev-master e882cc3)
Downloading: 100%
- Installing codeception/verify (0.3.1)
Downloading: 100%
- Installing myclabs/deep-copy (1.5.1)
Downloading: 100%
- Installing codeception/specify (0.4.3)
Downloading: 100%
- Installing bower-asset/jquery (2.2.4)
Downloading: 100%
- Installing ezyang/htmlpurifier (v4.8.0)
Downloading: 100%
- Installing bower-asset/yii2-pjax (v2.0.6)
Downloading: 100%
- Installing bower-asset/punycode (v1.3.2)
Downloading: 100%
- Installing bower-asset/jquery.inputmask (3.2.7)
Downloading: 100%
- Installing cebe/markdown (dev-master 04bfcaa)
Downloading: 100%
- Installing yiisoft/yii2 (dev-master 7c2fc41)
Downloading: 100%
- Installing swiftmailer/swiftmailer (5.x-dev 0b3e604)
Downloading: 100%
- Installing yiisoft/yii2-swiftmailer (dev-master b0f7f9f)
Downloading: 100%
- Installing sebastian/diff (dev-master 13edfd8)
Downloading: 100%
- Installing sebastian/recursion-context (dev-master 7ff5b1b)
Downloading: 100%
- Installing sebastian/exporter (dev-master 42c4c2e)
Downloading: 100%
- Installing sebastian/comparator (dev-master 937efb2)
Downloading: 100%
- Installing behat/gherkin (dev-master faf6316)
Downloading: 100%
- Installing symfony/polyfill-mbstring (dev-master 988cbed)
Downloading: 100%
- Installing symfony/dom-crawler (dev-master cec494c)
Downloading: 100%
- Installing symfony/css-selector (dev-master 7a3ee9a)
Downloading: 100%
- Installing symfony/browser-kit (dev-master 014c0d1)
Downloading: 100%
- Installing symfony/yaml (dev-master 6e73e8c)
Downloading: 100%
- Installing symfony/event-dispatcher (dev-master 5382f4c)
Downloading: 100%
- Installing symfony/console (dev-master 43c5f01)
Downloading: 100%
- Installing symfony/finder (dev-master ad1b54e)
Downloading: 100%
- Installing psr/http-message (dev-master f6561bf)
Downloading: 100%
- Installing guzzlehttp/psr7 (dev-master 64862e8)
Downloading: 100%
- Installing sebastian/version (1.0.6)
Downloading: 100%
- Installing sebastian/environment (1.3.x-dev be2c607)
Downloading: 100%
- Installing phpunit/php-token-stream (dev-master cab6c6f)
Downloading: 100%
- Installing phpunit/php-text-template (1.2.1)
Downloading: 100%
- Installing phpunit/php-file-iterator (dev-master 6150bf2)
Downloading: 100%
- Installing phpunit/php-code-coverage (2.2.x-dev eabf68b)
Downloading: 100%
- Installing sebastian/global-state (1.1.1)
Downloading: 100%
- Installing doctrine/instantiator (dev-master 416fb8a)
Downloading: 100%
- Installing phpunit/php-timer (1.0.8)
Downloading: 100%
- Installing webmozart/assert (dev-master 8444f2a)
Downloading: 100%
- Installing phpdocumentor/reflection-common (dev-master 144c307)
Downloading: 100%
- Installing phpdocumentor/type-resolver (0.2)
Downloading: 100%
- Installing phpdocumentor/reflection-docblock (3.1.0)
Downloading: 100%
- Installing phpspec/prophecy (dev-master d883566)
Downloading: 100%
- Installing phpunit/phpunit-mock-objects (2.3.x-dev ac8e7a3)
Downloading: 100%
- Installing phpunit/phpunit (4.8.x-dev 41433b0)
Downloading: 100%
- Installing codeception/base (2.2.x-dev e1976ee)
Downloading: 100%
- Installing bower-asset/bootstrap (v3.3.7)
Downloading: 100%
- Installing yiisoft/yii2-bootstrap (dev-master f41768b)
Downloading: 100%
- Installing yiisoft/yii2-debug (dev-master 721045a)
Downloading: 100%
- Installing bower-asset/typeahead.js (v0.11.1)
Downloading: 100%
- Installing phpspec/php-diff (dev-master 0464787)
Downloading: 100%
- Installing yiisoft/yii2-gii (dev-master fb52694)
Downloading: 100%
- Installing fzaninotto/faker (dev-master 7ead3ef)
Downloading: 100%
- Installing yiisoft/yii2-faker (dev-master 6e6eb43)
Downloading: 100%
symfony/browser-kit suggests installing symfony/process ()
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/event-dispatcher suggests installing symfony/http-kernel ()
symfony/console suggests installing psr/log (For using the console logger)
symfony/console suggests installing symfony/process ()
symfony/console suggests installing symfony/filesystem ()
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
codeception/base suggests installing flow/jsonpath (For using JSONPath in REST m
odule)
codeception/base suggests installing phpseclib/phpseclib (for SFTP option in FTP
Module)
codeception/base suggests installing league/factory-muffin (For DataFactory modu
le)
codeception/base suggests installing league/factory-muffin-faker (For Faker supp
ort in DataFactory module)
codeception/base suggests installing symfony/phpunit-bridge (For phpunit-bridge
support)
Writing lock file
Generating autoload files
> yii\composer\Installer::postCreateProject
chmod('runtime', 0777)...done.
chmod('web/assets', 0777)...done.
chmod('yii', 0755)...done.
C:\xampp\php>cd c:/xampp/htdocs/splp
c:\xampp\htdocs\splp>composer require "dektrium/yii2-user:0.9.*@dev"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Comments
Post a Comment
thanks