Skip to content

PHP Deprecated error running Composer-Setup.exe or .php #122

@W1DJM

Description

@W1DJM

Following the instructions found here while using PHP 8 Beta 1 I am getting a PHP Deprecated error for the openssl_free_key() function. From the command line using:

php composer-setup.php --install-dir=d:\composer

The complete error shown is:

Deprecated: Function openssl_free_key() is deprecated in D:\composer\composer-setup.php on line 1034

From the command line the phar file DOES get created. Using Composer-Setup.exe fails with the same error but no phar file is created.

I expected the installation to complete without errors. At least with the command line method I do get a phar file but not with the GUI version.

Composer_details
Composer_error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions