329
edits
Changes
m
By default, Composer will check for PHP at system default location - usually <code>/usr/bin/php</code>. This can sometimes cause Composer's version checking to fail. To avoid this, we will add our PHP installation directory the $PATH environment variable. Using LSPHP-56 as an example, run the following command:
<code>export PATH="/usr/local/lsws/lsphp56/bin/:$PATH"</code>
→Add The Correct PHP Path To The $Path Environment Variable: Removed unintended code block.
=== Add The Correct PHP Path To The $Path Environment Variable ===
=== Choose An Installation Directory For Magento 2 ===