ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
``` COMPOSER_MEMORY_LIMIT=512M composer require smi2/phpclickhouse php -d memory_limit=512M composer require smi2/phpclickhouse /www/server/php/81/bin/php -d memory_limit=512M /usr/bin/composer require smi2/phpclickhouse php -d memory_limit=512M /usr/local/bin/composer require smi2/phpclickhouse sudo grep "php" /var/log/messages COMPOSER_MEMORY_LIMIT=512M composer <command> composer -vvv composer clear-cache composer --version 化依赖项加载 composer install --no-dev --prefer-dist 升级 composer self-update touch /root/.config/composer/composer.json echo {} > /root/.config/composer/composer.json ``` 卸载 ``` rm -rf ~/.composer sudo rm -rf /usr/bin/composer sudo rm -rf /usr/local/bin/composer ``` 安装 ``` php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php composer-setup.php --install-dir=/usr/bin --filename=composer php -r "unlink('composer-setup.php');" ``` 切换 Composer 镜像 推荐使用composer**官方镜像**(如果使用此镜像还是不行请自行更换其他源下载) `composer config -g repo.packagist composer https://repo.packagist.org` 使用**腾讯云** Composer 镜像 `composer config -g repo.packagist composer https://mirrors.tencent.com/composer/` 使用**阿里云** Composer 镜像 `composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/` **删除镜像** `composer config -g --unset repos.packagist`