Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/PHP/Laravel: Curl and Mycrypt

August 8, 2014

Laravel: Curl and Mycrypt

I’ve installed Laravel at least a dozen times. Each time, there’s always something new that goes awry during the installation. If it’s not curl, it’s mcrypt, or maybe the app/storage permissions. I think it’s just the fact that I’m experimenting where to put the Laravel files each time I install. It’s either /var/www or /home/user/. I’m using the Ubuntu standard PHP5 install. You have to specifically install php5-curl in addition to the standard PHP package. I think mcrypt is already in the PHP5 package, but to be sure I added it to the install. Here’s the command.

PHP

sudo apt-get install php5 php5-curl php5-mcrypt

sudo apt-get install php5 php5-curl php5-mcrypt

App/storage

cd /home/user/laravel/app/
chmod -R o+x storage

cd /home/user/laravel/app/ chmod -R o+x storage

These two things seem to solve most of the Laravel installation issues.

Filed Under: PHP Tagged With: curl, laravel, mcrypt

Have content delivered to your mail. Subscribe below.

About Me

I'm Ulysses, Cloud Engineer at Cardinal Health based in Columbus. This blog is about Linux and Cloud technology. When off the grid, I enjoy riding my electric skateboard. I've surfed, snowboarded and played the saxophone in the past. I hope you find this website helpful. It's powered by WordPress and hosted on AWS LightSail.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021