composer  执行的时候报错错误信息如下: [ErrorException] proc_open(NUL): failed to open stream: No such file or directory 解决方法: 在php.ini中,找到disable_functions选项,看看后面是否有proc_open函数被禁用了,如果没有的话,禁用即可. 其实如果php的文档熟悉的话,你应该马上就能知道proc_open实际上是一个函数,是php用来和shell交互的函数,一般这种可以直接作…
解决Windows下运行php Composer出现SSL报错的问题 2015-01-14 20:05   在windows下运行composer却出现SSL报错: E:\www>php -f composer.phar install Loading composer repositories with package information Installing dependencies (including require-dev) SSL certificate problem, ver…
composer install thinkphp6 报错 Parse error: syntax error, unexpected ':', expecting '{' in vendor\topthink\think-helper\src\helper.php on line 233 执行安装语句 composer create-project topthink/think tp 查找原因原来是 php 的版本不对,官方文档 ThinkPHP 6.0 的环境要求如下: PHP >= 7.1…
以前都在linux环境使用php composer.今天尝试在win7下运行composer却出现SSL报错: D:\data\www\mmoyu\symapp>php -f %phprc%\composer install Loading composer repositories with package information [Composer\Downloader\TransportException] The "https://packagist.org/packages.js…
今天想在TP5上安装workerman,实现一个后台消息提醒功能. 第一步就卡住了,根据手册里说的首先通过composer安装 $ composer require topthink/think-worker 结果报错 $ composer require topthink/think-worker Using version ^2.0 for topthink/think-worker ./composer.json has been updated Loading composer repo…
错误: Cannot adopt OID in SQUID-MIB: cacheClients ::= { cacheProtoAggregateStats 15 } Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendLineIndex ::= { nsExtendOutput2Entry 1 } Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutLine ::= { nsExtendOutpu…
这是没有安装CA证书导致的!!! CA证书下载地址:http://curl.haxx.se/docs/caextract.html 然后修改php.ini文件 openssl.cafile= D:/wamp/php/verify/cacert.pem 问题解决.新技能get…
composer 报错: - Your requirements could not be resolved to an installable set of packages xxxxxxxxxxxxxxxxxxxxxx-> no matching package found. xxxxxxxxxxxxxxxxxxxxxx-> no matching package found. Potential causes: - A typo in the package name - The pac…
在Linux环境下,使用composer安装thinkphp5,安装时,报错:[ErrorException]               mkdir(): Permission denied : 看了半天,才发现是自己的权限不够造成的!!!用的是普通账号cmder,而没有使用root账户.切换成root账户,然后再重试,成功!…
执行命令 composer require particle/validator 报错 Failed to decode response: zlib_decode(): data error 网上推荐用 composer self-update,试一下,如下图,我的是最新版了,所以没有用 最后踏破铁鞋终于找到了一段解决问题的命令,composer diagnose  结果成功了 最好 执行命令 composer require particle/validator 成功了…