0

I'm using TCPDF to sign son PFD documents. I was testing the examples via web: http://www.tcpdf.org/examples.php, and they worked fine, but when I downloaded the lib and tested it @ localhost I got this error in "example 52":

Fatal error: Call to undefined function openssl_pkcs7_sign() in C:\xampp\htdocs\pruebas\pdf_firma\tcpdf\tcpdf.php on line 9043

My PHP is Version 5.3.8.

Any has any idea how to fix it?

Vadim Kotov
  • 7,766
  • 8
  • 46
  • 61
Redder
  • 128
  • 1
  • 4
  • 17

1 Answers1

2

Openssl must be installed

Enabling the OpenSSL in XAMPP

http://www.php.net/manual/en/openssl.setup.php

Community
  • 1
  • 1
Danilo Kobold
  • 2,522
  • 1
  • 19
  • 30