1. 環境 インストールする環境はこんな感じ $ sw_vers ProductName: macOS ProductVersion: 11.4 BuildVersion: 20F71 $ phpbrew --version phpbrew - 1.27.0 cliframework core: 2.5.4 $ phpbrew list * php-7.4.21 php-7.4.13 php-7.3.25 $ php -v PHP 7.4.21 (cli) (built: Jul 9 2021 16:54:55) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with
1. 環境 インストールする環境はこんな感じ $ sw_vers ProductName: macOS ProductVersion: 11.3 BuildVersion: 20E232 $ phpbrew --version phpbrew - 1.27.0 cliframework core: 2.5.4 $ phpbrew list * php-7.4.13 php-7.3.25 $ php -v PHP 7.4.13 (cli) (built: Dec 4 2020 21:48:53) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies 2. イ
1. 環境 インストールする環境はこんな感じ $ sw_vers ProductName: macOS ProductVersion: 11.3 BuildVersion: 20E232 $ phpbrew --version phpbrew - 1.27.0 cliframework core: 2.5.4 $ phpbrew list * php-7.4.13 php-7.3.25 $ php -v PHP 7.4.13 (cli) (built: Dec 4 2020 21:48:53) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies 2. イ
1. 環境 インストールする環境はこんな感じ $ sw_vers ProductName: macOS ProductVersion: 11.3 BuildVersion: 20E232 $ phpbrew --version phpbrew - 1.27.0 cliframework core: 2.5.4 $ phpbrew list * php-7.4.13 php-7.3.25 $ php -v PHP 7.4.13 (cli) (built: Dec 4 2020 21:48:53) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies libiconv は
1. 環境 インストールする環境はこんな感じ $ sw_vers ProductName: macOS ProductVersion: 11.3 BuildVersion: 20E232 $ phpbrew --version phpbrew - 1.27.0 cliframework core: 2.5.4 $ phpbrew list * php-7.4.13 php-7.3.25 $ php -v PHP 7.4.13 (cli) (built: Dec 4 2020 21:48:53) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies 2. イ
1. 環境 インストールする環境はこんな感じ $ sw_vers ProductName: macOS ProductVersion: 11.3 BuildVersion: 20E232 $ phpbrew --version phpbrew - 1.27.0 cliframework core: 2.5.4 $ phpbrew list * php-7.4.13 php-7.3.25 $ php -v PHP 7.4.13 (cli) (built: Dec 4 2020 21:48:53) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies icu4c は
1. 環境 インストールする環境はこんな感じ $ sw_vers ProductName: macOS ProductVersion: 11.3 BuildVersion: 20E232 $ phpbrew --version phpbrew - 1.27.0 cliframework core: 2.5.4 $ phpbrew list * php-7.4.13 php-7.3.25 $ php -v PHP 7.4.13 (cli) (built: Dec 4 2020 21:48:53) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies 2. イ
まずは、環境 $ sw_vers ProductName: macOS ProductVersion: 11.0.1 BuildVersion: 20B50 こんなエラーが出る場合 $ phpbrew install 7.3.25 +default ===> phpbrew will now build 7.3.25 ===> Loading and resolving variants... : : checking libzip... yes checking for the location of zlib... configure: error: zip support requires ZLIB. Use --with-zlib-dir=<DIR> to specify prefix where ZLIB include and library are located
1. phpcsインストール Windows の場合 composer は導入済みとする > composer.bat global require "squizlabs/php_codesniffer=*" Changed current directory to C:/Users/foo/AppData/Roaming/Composer ./composer.json has been created Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals - Installing squizlabs/php_codesniffer (3.3.0): Downloading (100%) Writing lock file Generating autoload files 場