Update installer script URL to include openssl_free_key() deprecation fix
If the installer script linked from [this page]([https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md](https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md)) is run using PHP 8, it generates the following deprecation notice. ``` Deprecated: Function openssl_free_key() is deprecated since 8.0, as OpenSSLAsymmetricKey objects are freed automatically in Standard input code on line 982 ``` This issue was [fixed in the installer script]([composer/getcomposer.org#159](https://github.com/composer/getcomposer.org/pull/159)), but the documentation was not updated to link to the version of it that includes the fix.pull/12250/head
parent
355f71eaa8
commit
f60bee416e
|
@ -35,7 +35,7 @@ give it uniqueness and authenticity as long as you can trust the GitHub servers.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet
|
wget https://raw.githubusercontent.com/composer/getcomposer.org/f3108f64b4e1c1ce6eb462b159956461592b3e3e/web/installer -O - -q | php -- --quiet
|
||||||
```
|
```
|
||||||
|
|
||||||
You may replace the commit hash by whatever the last commit hash is on
|
You may replace the commit hash by whatever the last commit hash is on
|
||||||
|
|
Loading…
Reference in New Issue