Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDaniel White
2,558 PointsNeed help with creating the site. I go to create the site and get the error: Your requirements could not be resolved...
Error when creating my site:
Your requirements could not be resolved to an installable set of packages.
Problem 1 - Installation request for laravel/framework 5.0.* -> satisfiable by laravel/framework[v5.0.0]. - laravel/framework v5.0.0 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
I believe this is an error with yosemite. I have updated and cannot find a good source to add this file. Please help.
3 Answers
Hai Le Quang
5,855 PointsI also have this problem. What a horrible error! I found this: http://stackoverflow.com/questions/26493762/yosemite-php-gd-mcrypt-installation/26505558#26505558 But still not resolved the problem. Any help, pls!!!
Daniel White
2,558 PointsOk I think I found a fix. I followed the tutorial to install the mcrypt file: http://remonpel.nl/2012/01/adding-mcrypt-to-your-osx-based-php-server-setup/?osx_version=10.10
- the only thing I changed was the command: " [ ! -f "/etc/php.ini" ] && sudo cp /etc/php.ini.default /etc/php.ini"
I changed it to: sudo cp /etc/php.ini.default /etc/php.ini
I was able to use vagrant up and create my project with no errors. However, when I launch my project it pulls up a blank screen vs before a page full of errors. No larval image is visible, but I take this as a small victory.
Hope this helps.
Suleiman Leadbitter
15,805 PointsManalive! I've gone and done all manner of things and it shows that I have mcrypt installed here: But when trying it set up Laravel via Composer it still runs that same error:
I would have thought that this would have sorted out any problems. :(
Suleiman Leadbitter
15,805 PointsSuleiman Leadbitter
15,805 PointsBleeerrghh I just got this too. If I find a solution I'll post it up.