1. Dashboard
  2. Forum
    1. Unerledigte Themen
  3. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team-Mitglieder
    4. Trophäen
    5. Mitgliedersuche
  4. Tutorial Bereich
  • Deutsch
  • Anmelden
  • Registrieren
  • Suche
Dieses Thema
  1. Informatik Forum
  2. Webmaster & Internet
  3. Entwicklung

Warum unterstüttzt mein Webserver keine Ausgehenden SSL verbindungen?

  • flyingtable07
  • 18. September 2023 um 16:09
  • Unerledigt
  • flyingtable07
    18
    flyingtable07
    Mitglied
    Reaktionen
    59
    Punkte
    3.564
    Trophäen
    1
    Beiträge
    678
    • 18. September 2023 um 16:09
    • #1

    Ich benutze das PayPal PHP SDK um Zahlungen abzuwickeln. Ich habe alles Ordnungsgemäß mit Composer installiert. Aber Leider:

    Immer wenn ich eine Zahlung erstelle. Offenbar benutzt das SDK Konstanten die normalerweise in PHP 7.4 mit installiertem PHP-Curl verfügbar sein sollten. Das Merkwürde ist, es betrifft nur Https anfragen die von meinem Server an PayPal gestellt werden.
    Ich habe schon gegoogelt, ein paar andere leute hatten das Problem auch, aber offenbar konnte es niemand beheben.
    Ich bin echt verzefelt.
    Ist einer von euch zufällig Experte?

    Hier nochmal die genaue Fehlermeldung:

    Code
     Warning: Use of undefined constant CURLOPT_SSLVERSION - assumed 'CURLOPT_SSLVERSION' (this will throw an Error in a future version of PHP) in /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 56
    
    Warning: Use of undefined constant CURLOPT_CONNECTTIMEOUT - assumed 'CURLOPT_CONNECTTIMEOUT' (this will throw an Error in a future version of PHP) in /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 56
    
    Warning: Use of undefined constant CURLOPT_RETURNTRANSFER - assumed 'CURLOPT_RETURNTRANSFER' (this will throw an Error in a future version of PHP) in /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 56
    
    Warning: Use of undefined constant CURLOPT_TIMEOUT - assumed 'CURLOPT_TIMEOUT' (this will throw an Error in a future version of PHP) in /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 56
    
    Warning: Use of undefined constant CURLOPT_USERAGENT - assumed 'CURLOPT_USERAGENT' (this will throw an Error in a future version of PHP) in /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 56
    
    Warning: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' (this will throw an Error in a future version of PHP) in /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 56
    
    Warning: Use of undefined constant CURLOPT_SSL_VERIFYHOST - assumed 'CURLOPT_SSL_VERIFYHOST' (this will throw an Error in a future version of PHP) in /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 56
    
    Warning: Use of undefined constant CURLOPT_SSL_VERIFYPEER - assumed 'CURLOPT_SSL_VERIFYPEER' (this will throw an Error in a future version of PHP) in /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 56
    
    Warning: Use of undefined constant CURLOPT_SSL_CIPHER_LIST - assumed 'CURLOPT_SSL_CIPHER_LIST' (this will throw an Error in a future version of PHP) in /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 56
    
    Fatal error: Uncaught Error: Call to undefined function PayPal\Core\curl_version() in /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConfig.php:65 Stack trace: #0 /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php(56): PayPal\Core\PayPalHttpConfig->__construct() #1 /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalResourceModel.php(104): PayPal\Transport\PayPalRestCall->execute() #2 /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Api/Payment.php(571): PayPal\Common\PayPalResourceModel::executeCall() #3 /var/www/socloth/classes/paypal.php(50): PayPal\Api\Payment->create() #4 /var/www/socloth/models/order.php(42): Paypal::createOrder() #5 /var/www/socloth/controller/order.php(84): Order->getCheckoutURL() #6 /var/www/socloth/classes/controller.php(67): include('/var/www/soclot...') #7 /var/www/socloth/classes/controller.php(87): Controller->process() #8 /var/www/socloth/index.php(33): Controller->d in /var/www/socloth/PayPal-PHP-SDK/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConfig.php on line 65
    Alles anzeigen
  • flyingtable07
    18
    flyingtable07
    Mitglied
    Reaktionen
    59
    Punkte
    3.564
    Trophäen
    1
    Beiträge
    678
    • 18. September 2023 um 17:12
    • #2

    Nach Langen herumprobieren habe ich das Problem gelöst.
    Was die ursache war weiß ich aber immer noch nicht. Ich hab meinen Server komplett neu eingerichtet und jetzt gehts

  • ai3x
    1
    ai3x
    Gast
    • 18. September 2023 um 17:17
    • #3

    Du hättest wahrscheinlich nur die zu deiner PHP Installation nötige und richtige php Curl Extension installieren müssen.

  • Online
    Syntafin
    27
    Syntafin
    LISTstack Dev
    Reaktionen
    498
    Punkte
    7.813
    Trophäen
    2
    Beiträge
    1.418
    • 18. September 2023 um 18:22
    • #4

    Man sollte eventuell auch davon absehen eine PHP Version zu verwenden die EOL ist :) .

    Ansosten hat ai3x recht.

    A red dragon falls from the heavens... Ah, that memory has been lost. A shame. It was a favorite of mine...

  • flyingtable07
    18
    flyingtable07
    Mitglied
    Reaktionen
    59
    Punkte
    3.564
    Trophäen
    1
    Beiträge
    678
    • 18. September 2023 um 18:51
    • #5
    Zitat von ai3x

    Du hättest wahrscheinlich nur die zu deiner PHP Installation nötige und richtige php Curl Extension installieren müssen.

    sudo apt-get install php-curl habe ich ausgeführt gehabt. ich dachte die extensionen würden sich dann automatisch einrichten.

    Zitat von Syntafin

    Man sollte eventuell auch davon absehen eine PHP Version zu verwenden die EOL ist :) .

    Ansosten hat ai3x recht.

    Was heißt EQL? Außerdem startet Inellij immer mit php 7.4. und php 8 ist komisch

  • Online
    Syntafin
    27
    Syntafin
    LISTstack Dev
    Reaktionen
    498
    Punkte
    7.813
    Trophäen
    2
    Beiträge
    1.418
    • 18. September 2023 um 20:21
    • #6
    Zitat von flyingtable07

    Was heißt EQL? Außerdem startet Inellij immer mit php 7.4. und php 8 ist komisch

    End of Life, und InelliJ, du meinst Jetbrains.

    Das startet soneie du es einstellst, bei mir zB durch die Composer Datei festgelegt auf 8.2. :winking_face:

    A red dragon falls from the heavens... Ah, that memory has been lost. A shame. It was a favorite of mine...

  • flyingtable07
    18
    flyingtable07
    Mitglied
    Reaktionen
    59
    Punkte
    3.564
    Trophäen
    1
    Beiträge
    678
    • 18. September 2023 um 20:35
    • #7
    Zitat von Syntafin

    End of Life, und InelliJ, du meinst Jetbrains.

    Das startet soneie du es einstellst, bei mir zB durch die Composer Datei festgelegt auf 8.2. :winking_face:

    aha. Und was ist dann inellij?

  • Online
    Syntafin
    27
    Syntafin
    LISTstack Dev
    Reaktionen
    498
    Punkte
    7.813
    Trophäen
    2
    Beiträge
    1.418
    • 18. September 2023 um 21:32
    • #8

    Die Plattform :grinning_face_with_smiling_eyes:

    A red dragon falls from the heavens... Ah, that memory has been lost. A shame. It was a favorite of mine...

  • flyingtable07
    18
    flyingtable07
    Mitglied
    Reaktionen
    59
    Punkte
    3.564
    Trophäen
    1
    Beiträge
    678
    • 19. September 2023 um 06:54
    • #9
    Zitat von Syntafin

    Die Plattform :grinning_face_with_smiling_eyes:

    ich bin verwirrt. ist der editor nicht die plattform?

  • Online
    Syntafin
    27
    Syntafin
    LISTstack Dev
    Reaktionen
    498
    Punkte
    7.813
    Trophäen
    2
    Beiträge
    1.418
    • 19. September 2023 um 14:20
    • #10

    Nein XD, IntelliJ ist von denen die Plattform, darauf basiert dann Jetbrains und zB Android Studio

    A red dragon falls from the heavens... Ah, that memory has been lost. A shame. It was a favorite of mine...

  • flyingtable07
    18
    flyingtable07
    Mitglied
    Reaktionen
    59
    Punkte
    3.564
    Trophäen
    1
    Beiträge
    678
    • 19. September 2023 um 16:19
    • #11
    Zitat von Syntafin

    Nein XD, IntelliJ ist von denen die Plattform, darauf basiert dann Jetbrains und zB Android Studio

    aha

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!

Benutzerkonto erstellen Anmelden

Tags

  • ssl

Benutzer online in diesem Thema

  • 1 Besucher

Rechtliches

Impressum

Datenschutzerklärung

  • Alles
  • Dieses Thema
  • Dieses Forum
  • Seiten
  • Forum
  • Lexikon
  • Erweiterte Suche
  • Deutsch
  • English
Zitat speichern