0

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

Bugs
  • 4,491
  • 9
  • 32
  • 41
Johnson Ogwuru
  • 25
  • 1
  • 10

2 Answers2

0

First of uncomment curl library in php.ini

Haninder Singh
  • 618
  • 4
  • 14
0

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
Ishan Shah
  • 1,665
  • 2
  • 20
  • 42