我一直在为此奋斗了20个小时左右,我无法前进。我对所有这些寻找无望而疲惫。不知道我应该在哪里找到解决方案。在开始时我应该说我不是终端/作曲家/ git用户。我正在尝试安装laravel 4框架。我一直在使用google搜索,发现了一些教程,甚至在这里的一些在计算器上,但注意到真的帮助了我。laravel 4安装问题
我有我的本地主机提取基本的github主压缩包。我已经安装了作曲家,我也在我的本地机器上安装了git。我已取消注释php.ini“extension=php_openssl.dll
”。 就像我说我不使用终端regulary,但我设法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?
这应该通过我在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
这是我相信因为作曲家没有下载所有的依赖关系,所以我认为它只是不完整。如果你需要更多的信息,我不知道该说什么。感谢您的任何帮助。最后,我很抱歉我的可怜的英语是我的第二语言。
UPDATE:
所以我正在寻找一些更多的发现this article。我错过了这一步: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]
我的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
谢谢你的答复。如果有其他人遇到这个问题,我只是去说类似的事情。经过大约3天的努力,我决定在不同的环境中测试它。所以我启动了我的linux检查php.ini,一切都很顺利。 问题是我编辑php ini在我的Windows安装通过wamp上下文菜单php.ini linik这是不幸在apache/bin文件夹中的一个。 – Joe