mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #7396 from danielmcclure/patch-1
Updated Minimum Default PHP Version
This commit is contained in:
commit
4ed0857127
@ -30,8 +30,8 @@ to automatically download the required files from GitHub and other repositories.
|
|||||||
|
|
||||||
In order to install Composer, we need to let the system know where to find the PHP executable.
|
In order to install Composer, we need to let the system know where to find the PHP executable.
|
||||||
Open or create the `~/.bash_profile` file in your home folder, then add the following line:
|
Open or create the `~/.bash_profile` file in your home folder, then add the following line:
|
||||||
`export PATH=/Applications/MAMP/bin/php/php5.5.22/bin:$PATH`
|
`export PATH=/Applications/MAMP/bin/php/php7.0.20/bin:$PATH`
|
||||||
You'll need to adjust the PHP version number (`php5.5.22`). The currently running PHP version is shown on `http://localhost:8888/MAMP/index.php?page=phpinfo`.
|
You'll need to adjust the PHP version number (`php7.0.20`). The currently running PHP version is shown on `http://localhost:8888/MAMP/index.php?page=phpinfo`.
|
||||||
Run `source ~/.bash_profile` for the changes to take effect. You can verify that the correct executable
|
Run `source ~/.bash_profile` for the changes to take effect. You can verify that the correct executable
|
||||||
is used by running `which php`. It should show the path to MAMP from above.
|
is used by running `which php`. It should show the path to MAMP from above.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user