I'm getting this error when I try installing open Cart on my system.
Fatal error:
Call to undefined function openssl_random_pseudo_bytes_() in C:\xampp\htdocs\shop\system\library\session.php on line 33
I'm getting this error when I try installing open Cart on my system.
Fatal error:
Call to undefined function openssl_random_pseudo_bytes_() in C:\xampp\htdocs\shop\system\library\session.php on line 33
Edit php.ini file - changing ;extension=php_openssl.dll
to extension=php_openssl.dll
.
OR
Your php installation either does not have openssl enabled, or you could be running a version of php < 5.3.
To enable openssl, you must re-compile and install php with the "–with-openssl" flag. See php installation documentation
OR
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