Last Updated: August 07, 2022
·
2.162K
· edgetor

Laravel 4 on Ubuntu 13.10

Tip for getting Laravel 4 to work on Ubuntu 13.10

Get MCrypt to work

sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available

sudo php5enmod mcrypt

sudo service apache2 restart

Get Json to work

sudo apt-get install php5-json

Extra - Optional (Not Necessary)

Get Curl to work

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

2 Responses
Add your response

Oddly, the default Ubuntu 13.10 image on a Digital Ocean droplet doesn't have php5-json available which is on saucy. This image had raring instead so I had to use php5-common. Did you update your apt repositories?

[update] I am using Ansible plus the very helpful tugboat gem but I copied the wrong ID number. User error. So installing php5-json is fine now. But not mcrypt as you noted. Thanks much for that.

over 1 year ago ·

Glad to hear you were able to get it working, I have a droplet on D.O. running with this setup.

over 1 year ago ·