0

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.

5
  • 2
    Sounds like you need the openssl extension enabled. Enable it if it isn't already and then restart Apache. Commented May 31, 2013 at 8:57
  • Thank you Mr. Lewis, it was exactly that. I just don't understand why xampp wouldn't come with openssl already enabled. Commented May 31, 2013 at 11:55
  • I think that's just a PHP thing actually. Commented May 31, 2013 at 11:57
  • Yes, I meant the php installed from xampp. Commented May 31, 2013 at 15:52
  • @JasonLewis could you please add it as answer so people can upvote it? Commented Jun 4, 2013 at 8:13

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.