Der Komponist wird in Windows 11 und PHP 8.2.12 nicht installiert [Duplikat]Php

PHP-Programmierer chatten hier
Anonymous
 Der Komponist wird in Windows 11 und PHP 8.2.12 nicht installiert [Duplikat]

Post by Anonymous »

Ich habe einen neuen Laptop, der Windows 11 installiert hat. Ich habe auch XAMPP mit PHP 8.2.12 -Version installiert. Jetzt möchte ich den Komponisten in meinem System installieren, aber ich kann nicht installieren. Es gibt mir Fehler wie < /p>

Code: Select all

The Composer installer script was not successful [exit code 1].

OpenSSL failed with a 'certificate verify failed' error. This indicates a [url=viewtopic.php?t=15738]problem[/url] with
the Certificate Authority file(s) on your system, which may be out of date.

Certificate location [from openssl.cafile ini setting]:
C:\xampp\php\cacert.pem

The php.ini used by your command-line PHP is: C:\xampp\php\php.ini

Script Output:
The "https://getcomposer.org/versions" file could not be downloaded: SSL operation
failed with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed
Failed to enable crypto
Failed to open stream: operation failed
< /code>
Ich habe die Zertifikatdatei wie vorgeschlagen von CHAT GPT geändert. wie unten angegeben < /p>
curl.cainfo = "C:\xampp\php\cacert.pem"
openssl.cafile = "C:\xampp\php\cacert.pem"
< /code>
Ich habe auch den Umgebungsvariablenpfad auf C: \ xampp \ php \ php.exe festgelegt und auch einchecken, dass es mir die derzeit installierte PHP -Version 8.2.12 zeigt. Ich habe auch versucht, Komponist manuell mit Befehlen wie < /p>
manuell zu installierenphp -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
< /code>
, aber es gibt mir ein Fehler wie unten < /p>
Downloading...
The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed
with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed
Failed to enable crypto
Failed to open stream: operation failed
Retrying...
The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed
with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed
Failed to enable crypto
Failed to open stream: operation failed
Retrying...
The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed
with code 1. OpenSSL Error messages:
error:0A000086:SSL routines::certificate verify failed
Failed to enable crypto
Failed to open stream: operation failed
The download failed repeatedly, aborting.
Kann mir jemand vorschlagen, was ich mit diesem Problem anfangen soll?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post