0

im trying to install laravel 4 on my mac mavericks os with xampp server. I solved several problems but a cant With This:

Warning: PHP Startup: mcrypt: Unable to initialize module Module compiled with module API=20100525 PHP compiled with module API=20121212 These options need to match in Unknown on line 0

i understund the problem , but i dont know how to fix it. thanks a lot !

2 Answers 2

5

brew reinstall mcrypt --build-from-source php56-mcrypt --build-from-source

You may only need the php56-mcrypt module.

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

Comments

2

Are you using Homebrew? If so, you need to brew tap homebrew/php and then brew install php55-mcrypt.

If you're not using Homebrew, then you really should be. (Xampp probably isn't the way to locally develop Laravel either...) Check out Jeffrey Way's http://laracasts.com. There are a couple of free videos in the series Laravel From Scratch that should answer some installation questions.

2 Comments

yes im using homebrew ! so i should write brew install php55-mcrypt on terminal ? sorry about my english (its my first time using a mac os and a terminal.. )
which server should I use?

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.