A
A
Alexander Arbuzov2020-09-10 16:48:33
Laravel
Alexander Arbuzov, 2020-09-10 16:48:33

Why does Fatal error: Call to undefined function J20\Uuid\openssl_random_pseudo_bytes() occur?

Got an ancient site on the 3rd laravel. It smokes under Windows on some uniserver (WAMP).
Can't run artisan. swears

Call to undefined function Px\openssl_random_pseudo_bytes() in [...]\bundles\plarx\classes\Plarx.php on line 50

php_openssl is enabled. In php.ini php_openssl is uncommented and in phpinfo() it is shown as connected.

PS Issue resolved. It turns out that there was another php in the system and it was registered in PATH. Accordingly, he worked in the console. Thanks to all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Smolyakov, 2020-09-11
@yehors

Check out the documentation for this feature . Perhaps the PHP version is different than the documentation says: PHP 5 >= 5.3.0, PHP 7.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question