Fatal Error: Call to Undefined Function Openssl_Random_Pseudo_Bytes()

Fatal error: Call to undefined function openssl_random_pseudo_bytes()

Your version of PHP wasn't compiled with the openssl module. If you are building from source, add the module like so:

cd /path/to/php-5.4/
./configure --with-openssl

Fatal error: Call to undefined function openssl_random_pseudo_bytes()

The OpenSSL Perl modules you found are a red herring. They have no effect whatsoever on PHP. (PHP and Perl are two entirely separate programming languages.)

What you need to install is the openssl PHP module. I don't recall exactly whether cPanel has an option to rebuild PHP, but if I'm right and it does, you'll need to go through that process and enable OpenSSL there.

Fatal error: openssl_random_pseudo_bytes

FIXED! Switched to PHP 7.0.9 and there is no such problem.

OpenSSL installed but not working

You need to upgrade PHP to version >= 5.3.



Related Topics



Leave a reply



Submit