spipu / html2pdf

OFFICIAL PROJECT | HTML to PDF converter written in PHP
http://html2pdf.fr/en/default
Open Software License 3.0
1.68k stars 751 forks source link

I have error with composer, to the moment of download html2pdf dependencie's #470

Open Kevinchop opened 5 years ago

Kevinchop commented 5 years ago

Hello!

As i said in the title, i have a problem downloading dependencies for html2pdf. Particularly, here the error:

C:\xampp\htdocs\html2pdf>composer install Your version of PHP, 5.4.19, is affected by CVE-2013-6420 and cannot safely perf orm certificate validation, we strongly suggest you upgrade. Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 2 installs, 0 updates, 0 removals

  • Installing tecnickcom/tcpdf (6.2.26): Downloading (failed) Downloading (failed) Downloading (failed) Failed to download tecnickcom/tcpdf from dist: The "http s://api.github.com/repos/tecnickcom/TCPDF/zipball/367241059ca166e3a76490f4448c28 4e0a161f15" file could not be downloaded: SSL operation failed with code 1. Open SSL Error messages: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Failed to enable crypto failed to open stream: operation failed Now trying to download from source
  • Installing tecnickcom/tcpdf (6.2.26): Cloning 367241059c

    [RuntimeException] Failed to clone https://github.com/tecnickcom/TCPDF.git, git was not found, check that it is installed and in your PATH env.

    "git" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable.

Someone can helpme to solve this problem?

Thanks!!

LittleBigFox commented 5 years ago

Hi!

Try to put "tecnickcom/tcpdf": "6.2.17", in your composer dependencies, your message seems to be a TCPDF error...

Regards, LBF