user2094178
user2094178

Reputation: 9464

Laravel 4 - php artisan migrate error

when I run php artisan migrate I receive this error:

Fatal error: Call to undefined function J20\Uuid\openssl_random_pseudo_bytes() i n C:\xampp\htdocs\blog\Laravel-4-Bootstrap-Starter-Site\vendor\j20\php-uuid\src\ J20\Uuid\Uuid.php on line 32

I'm trying to install this app, https://github.com/andrew13/Laravel-4-Bootstrap-Starter-Site

I appreciate any help, since I have no idea how to deal with something in the vendor dir halting migrations.

Upvotes: 0

Views: 488

Answers (1)

Jason Lewis
Jason Lewis

Reputation: 18665

Make sure you enable the openssl extension in your PHP.ini file by removing the comment from the following line.

;extension=php_openssl.dll

So that it looks like this.

extension=php_openssl.dll

Then restart Apache to make sure the changes take effect.

Upvotes: 1

Related Questions