PHP: Fatal error: Call to undefined function openssl_pkcs12_read() - php

I'm using PHP to read encryted file using opensll.
when doing
openssl_pkcs12_read($storedfile, $certificateinfo, $passwd)
in my script, error came out is :
Fatal error: Call to undefined function openssl_pkcs12_read()
I'm trying to install openssl extension for my Suse Linux Enterprise Server 11.
Can anybody help me how to install openssl extension in SLES. or how to solve this problem.
thanks

Related

undefined function dbase_open() .DBF

Error "Uncaught Error: Call to undefined function dbase_open();"
I'm installed the dbase https://pecl.php.net/package/dbase and extension=php_dbase.dll in php.ini
Fatal error alert
basic information:
1.XAMPP v3.3.0
2.php 7.3
3.windows 10
4.PECL 7.0.1
Thanks for your attention. I’m looking forward to your reply.

PHP Fatal error: Uncaught Error: Call to undefined function openssl_verify()

I've had to upgrade PHP from 7.0.10 to 7.3.12 on WampServer.
Since then I've been unable to update local WordPress sites, receiving error:
Download failed.: No working transports found
I've checked the PHP error log and I see:
PHP Fatal error: Uncaught Error: Call to undefined function openssl_verify()
Wamp icon > PHP > PHP Extensions > openssl + curl are enabled.
Help appreciated.

how to use “fribidi_log2vis” function on localhost

I have to use fribidi_log2vis in PHP. When I call it, my localhost (XAMPP) shows this error:
Fatal error: Call to undefined function fribidi_log2vis()
but this function is exists in php.net (http://php.net/manual/en/function.fribidi-log2vis.php)
Fribidi is a PECL extension that is not bundled with PHP by default. Installing instructions: http://php.net/manual/en/install.pecl.php

Call to undefined function openssl_pkcs7_sign()

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?
Openssl must be installed
Enabling the OpenSSL in XAMPP
http://www.php.net/manual/en/openssl.setup.php

Fatal error: Call to undefined function mhash() in C:\xampp\htdocs\LiveContactsPHP\windowslivelogin.php on line 1516

Can anyone help me out. I am getting this error:
Fatal error: Call to undefined function mhash() in C:\xampp\htdocs\LiveContactsPHP\windowslivelogin.php on line 1516
You need to compile PHP with the
--with-mhash[=DIR] parameter to enable this extension. DIR is the mhash
installation directory.
You have to install mhash library. Here are the instruction for same.

Categories