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
  • 8,084
  • 8
  • 48
  • 62
Redder
  • 146
  • 1
  • 5
  • 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,562
  • 1
  • 21
  • 31