随笔分类 - 服务器 / composer
摘要:1.发现问题 宝塔上有php7.3与7.4两个版本;系统的默认执行命令是php7.3版本;目标项目环境是7.4;执行composer下载时,提示需要php环境版本为7.4; 2.解决问题 宝塔上:网站》高级设置》PHP命令行版本 可以直接修改命令行版本;解决!!!!
阅读全文
摘要:1.安装composer 2.前往packagist查找插件,地址:https://packagist.org/ 3.通过搜索找到合适插件 4.复制composer指令进行安装插件
阅读全文
摘要:在安装Composer时报:Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrad
阅读全文
摘要:composer require第三方包的时候,发生某些错误,可以试用强制安装 带上引包的时候带上 --ignore-platform-reqs composer require qiniu/php-sdk:^7.2 --ignore-platform-reqs 参数说明 --ignore-plat
阅读全文
摘要:https://github.com/zoujingli/ip2region composer require zoujingli/ip2region
阅读全文
摘要:首先先下载个推官方的sdk 直接在根目录下 composer require getuilaboratory/getui-pushapi-php-client-v2 如果报错请用 composer require getuilaboratory/getui-pushapi-php-client-v2
阅读全文
摘要:本次错误,是因为composer版本更新,替换掉了一些东西,所以执行composer self-update 更新版本,然后再次composer update 更新文件,都执行成功后,再去安装新包
阅读全文
摘要:https://www.runoob.com/w3cnote/composer-install-and-usage.html
阅读全文
摘要:报错信息 php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');" PHP Warning: copy(): SSL operation failed with code 1. OpenSSL
阅读全文
摘要:1.如下图 其实很简单。不要盯着红色的看。黄色的也看一下 Do not run Composer as root/super user! See https://getcomposer.org/root for detailsWarning from https://mirrors.aliyun.c
阅读全文
摘要:执行指令 composer require qiniu/php-sdk:^7.2
阅读全文
摘要:执行即可 composer dump-autoload composer update 再重新执行下载命令
阅读全文
摘要:thinkphp5.1安装完workerman后运行 php think worker:gateway 后报错 Fatal error: Call to undefined function pcntl_signal() 此错误是由于PHP缺少pcntl扩展造成的,因此需要安装相应扩展 可以参考 h
阅读全文
摘要:1.错误截图 2.删除 composer.lock 3.执行命令 composer clearcache 清除缓存 4.更新依赖 composer update (重新生成 composer.lock) 5.可以执行需要的命令了
阅读全文
摘要:Composer提示:Installation failed, reverting ./composer.json to its original content.错误,分别运行下面两条命令即可 composer dump-autoload composer update
阅读全文
摘要:1.首先保证你已经安装Git2.把你的ssh_keygen.exe的安装路径添加到系统环境变量里面
阅读全文
摘要:解决办法: 1.新建TXT文件,写入代码 @echo off pushd "%~dp0" dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.
阅读全文
摘要:1.右击计算机,点击管理 2.选择任务计划程序,点击状态为全部禁用
阅读全文
摘要:步骤: 1.打开Powershell输入 chkdsk 2.输入 sfc /scannow 注意sfc后面有个空格 3.等待电脑修复完成后重启
阅读全文
摘要:解决办法: 打开php.ini,并搜索disable_functions指令,找到类似如下内容: disable_functions=exec,passthru,popen,proc_open,shell_exec,system,assert 找到proc_open并删除, 然后重启一下php-fp
阅读全文