laravel 4安装问题

Joe*_*Joe 3 git terminal laravel composer-php laravel-4

我现在已经挣扎了大约20个小时,我无法继续前进.我对所有寻找的人都感到绝望和厌倦.不知道我应该在哪里找到解决方案.在开始时我应该说我不是终端/作曲家/ git用户.我正在尝试安装laravel 4框架.我一直在谷歌上搜索并找到了一些教程,其中一些甚至在stackoverflow,但注意到真的帮助了我.

我在我的localhost中提取了基本的github主zip包.我已经安装了composer,我也在我的本地机器上安装了git.我已经取消注释了php.ini" extension=php_openssl.dll".就像我说我不使用终端常规但我设法cd到我提取的laravel文件夹,我已经运行" composer install"命令,开始安装.但很快我就得到了错误.

  [Composer\Downloader\TransportException]
  The "http://nodeload.github.com/doctrine/lexer/zip/bc0e1f0cc285127a38c6c8ea
  88bc5dba2fd53e94" file could not be downloaded: failed to open stream: Unab
  le to find the socket transport "ssl" - did you forget to enable it when yo
  u configured PHP?
Run Code Online (Sandbox Code Playgroud)

哪个应该由我在php.ini文件中进行的更改来修复.当然我已经重新启动服务器,但我仍然收到此错误.我还重新安装了较新版本的wamp,所以现在我使用的是PHP 5.4.3

当我试图打开我的laravel公众时,我得到了这个错误.

( ! ) SCREAM: Error suppression ignored for
( ! ) Warning: require(C:\wamp\www\laravel\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\wamp\www\laravel\bootstrap\autoload.php on line 17
Call Stack
#   Time    Memory  Function    Location
1   0.0005  247400  {main}( )   ..\index.php:0
2   0.0011  252392  require( 'C:\wamp\www\laravel\bootstrap\autoload.php' ) ..\index.php:21

( ! ) SCREAM: Error suppression ignored for
( ! ) Fatal error: require(): Failed opening required 'C:\wamp\www\laravel\bootstrap/../vendor/autoload.php' (include_path='.;C:\php\pear') in C:\wamp\www\laravel\bootstrap\autoload.php on line 17
Call Stack
#   Time    Memory  Function    Location
1   0.0005  247400  {main}( )   ..\index.php:0
2   0.0011  252392  require( 'C:\wamp\www\laravel\bootstrap\autoload.php' ) ..\index.php:21
Run Code Online (Sandbox Code Playgroud)

我认为这是因为作曲家没有下载所有依赖项,因此它不完整.如果您需要更多信息,我不知道该说些什么.感谢您的任何帮助.最后,我很抱歉我的英语很差,这是我的第二语言.


更新:

所以我正在搜索更多内容并找到了这篇文章.我错过了这一步:START > MY COMPUTER > PROPERTIES > ADVANCED > ENVIRONMENT VARIABLES > double click on PATH from SYSTEM VARIABLES > now copy the path address of git installer (normally in windows it’s by default address is C:\Program Files\Git\bin) 之后它进一步发展,要求我的github acc因为它说它的私人depo.所以我今天创造了一个并使用它.然后它抛出了这个错误.

      [Composer\Downloader\TransportException]
  The "https://api.github.com/authorizations" file could not be downloaded: U
  nable to find the wrapper "https" - did you forget to enable it when you co
  nfigured PHP?
  failed to open stream: Invalid argument



install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-c
ustom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--opt
imize-autoloader]
Run Code Online (Sandbox Code Playgroud)

我的php.ini openssl行是未注释的,当我看到phpinfo时,我可以看到它已加载.openssl OpenSSL support enabled OpenSSL Library Version OpenSSL 1.0.1c 10 May 2012 OpenSSL Header Version OpenSSL 1.0.1c 10 May 2012

Bal*_*ala 6

WAMP的php.ini文件的问题

命令行使用的php.ini位于"PHP文件夹"中,NOT与Apache服务器使用的相同.

WAMP > localhost > php > bin文件中找到php.ini (在我的情况下为C:\ localhost\bin\php\php5.3.13)

并启用 extension=php_openssl.dll

然后它应该工作