Created
November 15, 2013 16:58
-
-
Save beaudierman/7487737 to your computer and use it in GitHub Desktop.
After installing Ubuntu 13.10 with PHP 5.5.3 I kept getting the "Laravel Requires the mcrypt PHP extension" when trying to run artisan commands. Running the following commands on my server fixed the problem.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure you have php5-mcrypt installed first. If not, run | |
sudo apt-get install php5-mcrypt | |
# Add a symlink for mcrypt.ini in the PHP5 apache config directory | |
sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/apache2/conf.d/20-mcrypt.ini | |
# Restart apache | |
sudo service apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment