Question

Installing laravel on a ubuntu 14.04 droplet

  • Posted on May 24, 2014
  • gj1118Asked by gj1118

Hi , I would wish to install laravel on a ubuntu 14.04 droplet that i have created. For some reason , I keep getting this message "MCrypt PHP extension is required " although i believe i have it already installed. Just to verify I have executed the following commands

  1. sudo apt-get install php5-mcrypt (I get the message - php5-mcrypt is already the newest version.)
  2. Just o be very sure I have restarted apache as well… sudo service apache2 restart

Is there something that I am missing? Any pointers would definitely help.

thanks

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

The article you linked is written for Ubuntu 12.04. On 14.04, you need to enable the mcrypt extension explicitly: <br><pre>sudo php5enmod mcrypt</pre> <br>Once you’ve done that, restart your webserver: <br><pre>sudo service apache2 restart</pre>

Dont worry about it, the conf file is already on etc/php5/mods-available/mcrypt.ini skip that step.

Hi, I’m getting same issue with ubuntu 14.04 and Lampp. I have php5-mcrypt installed but can’t enable it. When I run sudo php5enmod mcrypt its give me this error WARNING: Module mcrypt ini file doesn’t exist under /etc/php5/mods-available

Please help.