set http_proxy=(プロキシ):(ポート)
set https_proxy=(プロキシ):(ポート)
cd /D (BaserCMSのパス)\composer
set HOME=(BaserCMSのパス)\composer
(curlのパス)\curl.exe -sS https://getcomposer.org/installer | (PHPのパス)\php.exe
また
●composer_installer.php は、書き換えて実行しています。
・$phpPath = whichPhp(); → $phpPath = “(PHPのパス)”;
・$command
CDコマンド実行にCMDが必要なのでCMDを追加
ウエブサイトのフォルダが別ドライブの場合 cd の /D オプションを付ける
curl はフルパスに変える
export → set
yes | → echo y |
2025-07-28 07:51:30 error: PHP Warning: PHP Startup: Unable to load dynamic library 'wincache' (tried: C:\opt\php\php848nts\ext\wincache (指定されたモジュールが見つかりません。), C:\opt\php\php848nts\ext\php_wincache.dll (指定されたモジュールが見つかりません。)) in Unknown on line 0
A script named install would override a Composer command and has been skipped
./composer.json has been updated
Running composer update baserproject/baser-core --with-all-dependencies
Loading composer repositories with package information
Cannot create cache directory C:/Windows/system32/config/systemprofile/AppData/Local/Composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
In CurlDownloader.php line 390:
curl error 35 while downloading https://repo.packagist.org/packages.json: Recv failure: Connection was reset
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]