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>
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?
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]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. [/code] Kann mir jemand vorschlagen, was ich mit diesem [url=viewtopic.php?t=15738]Problem[/url] anfangen soll?
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...
Ich versuche, Spatie/Laravel-Medialibrary mit Composer in meinem Laravel-Projekt zu installieren, aber ich erhalte immer wieder einen SSL-Zertifikatfehler. Hier ist der Befehl, den ich ausführe:...
Einführung
Ich habe ein kleines Paket erstellt, das ValueObject Typ -Objekte für Messeinheiten enthält. ValueObject ), das zwei Eigenschaften hat:
Value - Geben Sie Float und eine Einheit messunital...