Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Mac と AMPPS を使用しています... PHP 5.6 を使用することを選択し、PHP 5.6 の最小要件を持つ Magento 2 をインストールできました。Magento 2 がインストールされ、正常に動作しています。
ここで、ターミナルを開いて次のように入力すると: PHP -v
PHP 5.5を使用していると書かれています。
なぜこれが起こっているのでしょうか、何か考えはありますか?
自分に合った解決策を見つけました。私は基本的にphpアップデートをインストールしていましたが、パスを設定する必要もあったので、彼は解決策です:
1. curl -s http://php-osx.liip.ch/install.sh | bash -s 5.6 2. export PATH=/usr/local/php5/bin:$PATH 3. php -v
バージョン 5.6 を取得します