Friday, January 10, 2014

Help setting up 3.0

I am trying to set this up with Composer install as outlined in the first step.

 

I want to play around locally, I am on windows 7 using wamp. Upgraded wamp to the php 5.4 version.

Downloaded the Composer windows installer.

It does not give me the option where to install / save Composer to so it ends up on installed on C: drive, yet all my work / wamp is on a separate drive K: , the path to php / apache is K:wamp/bin

 

The openSSL is enabled in php.ini, restarted.

 

 

K:\wamp\www\dev\3.x>php -r "eval('?>'.file_get_contents('https://getcomposer.

org/installer'));"

PHP Warning:  file_get_contents(): Unable to find the wrapper "https" - did you

forget to enable it when you configured PHP? in Command line code on line 1

PHP Stack trace:

PHP   1. {main}() Command line code:0

PHP   2. file_get_contents() Command line code:1

 

Warning: file_get_contents(): Unable to find the wrapper "https" - did you forge

t to enable it when you configured PHP? in Command line code on line 1

 

Call Stack:

    0.0003     222528   1. {main}() Command line code:0

    0.0003     223240   2. file_get_contents() Command line code:1

 

PHP Warning:  file_get_contents(https://getcomposer.org/installer): failed to op

en stream: Invalid argument in Command line code on line 1

PHP Stack trace:

PHP   1. {main}() Command line code:0

PHP   2. file_get_contents() Command line code:1

 

Warning: file_get_contents(https://getcomposer.org/installer): failed to open st

ream: Invalid argument in Command line code on line 1

 

Call Stack:

    0.0003     222528   1. {main}() Command line code:0

    0.0003     223240   2. file_get_contents() Command line code:1

 

 

K:\wamp\www\dev\3.x>composer.phar update

 

K:\wamp\www\dev\3.x>curl -s http://getcomposer.org/installer | php

'curl' is not recognized as an internal or external command,

operable program or batch file.

 

K:\wamp\www\dev\3.x>php composer.phar create-project cakephp/app

Could not open input file: composer.phar

 

K:\wamp\www\dev\3.x>php composer.phar create-project cakephp/app

 

  [InvalidArgumentException]

  Could not find package cakephp/app with stability stable.

 

create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repos

itory-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--n

o-scripts] [--no-progress] [--keep-vcs] [--no-install] [package] [directory] [ve

rsion]

 

 

C:\Users\MovePixels>php composer.phar create-project k:/wamp/www/dev/3.x/app

Could not open input file: composer.phar

 

 

K:\wamp\www\dev\3.x>php composer.phar create-project app

 

  [InvalidArgumentException]

  Could not find package app with stability stable.

 

create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repos

itory-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--n

o-scripts] [--no-progress] [--keep-vcs] [--no-install] [package] [directory] [ve

rsion]

 

 

Anyone have any ideas how to go about this.

 

Thanks,

Dave

 

No comments: