Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
November 3, 2013
Chris
PHP
Comments Off on How to install the mcrypt php extension (to use Laravel 4)

How to install the mcrypt php extension (to use Laravel 4)

PreviousNext
php

When installing Laravel 4 on a fresh Ubuntu or Debian system, you’ll probably get this error message: “Laravel requires the Mcrypt PHP extension.”

To install the mcrypt php extension, do this:

sudo apt-get install php5-mcrypt

and restart the server

sudo service apache2 restart

By the way, this might be off-topic, but let’s be honest: Laravel is a wonderful thing, but the install instructions are .. well… totally incomplete. It’s impossible to install laravel without doing some additional things that are simply not documented. The official tutorial completely misses the installation of the necessary plugins, necessary mod_rewrite shit and necessary vhost actions.

Go here if you need a full tutorial on how to install Laravel 4 on Ubuntu 12.04 LTS.

laravelmcryptmcrypt php extensionPHP
Share this
mod-rewrite-ubuntu-14-04-lts

EOL lists of Ubuntu, Debian and CentOS for your server plannings

Chosing the right server operating system will probably save your life and avoid a lot of stress with your clients.

phpstorm-8

Killer-feature in PHPStorm: Search everywhere

A short but massive productivity improvement: The new “search everywhere” feature in PHPStorm 7.1+! Simply double-tap the SHIFT key and

php

[Link] Excellent PHP best practices, 2014 style

Excellent post on This interests me: A collection of useful best practices in modern PHP development, like Redirecting the user

phpstorm-8

A PHPStorm shortcuts cheat sheet (for Windows, Mac OS and Linux)

Shortcuts that will make you life so much easier! Please note: Frontend Devs might be irritated by the weird CTRL-Y-shortcut,

Frontend Ops Conf 2014 – Paul Irish: Delivering The Goods In Under 1000ms (40min video)

https://www.youtube.com/watch?v=E5lZ12Z889k

Increase your HTML / CSS coding speed with EMMET

Codeninja.com just published a very interesting article about the excellent free code-completion/code-generation tool EMMET, which allows you to create huge

css4

Angelina Fabbro talks about “CSS4” in this excellent conference video

A very interesting talk about the future of CSS – let’s name it “CSS4” as we talk about spec level

Meet the developers behind Ableton (14min video)

An excellent short documentation about the developers behind Ableton, the legendary creators of Ableton Live and Push. Without doubt, Live

ilovepreloaders – A tumblr collection of preloader animations

An excellent collection of preloaders (GIFs, Movies and real ready-to-copy&paste code) here in this wonderful blog: http://ilovepreloaders.tumblr.com/ This thing just

Beautiful, minimal WordPress theme ZUKI by Elmastudio (with 30% discount)

First a little disclaimer: I’m not affiliated with the company, don’t get money (or anything else) for saying this and

1/4

Categories

Search

php uk conference
PHP Opcache Explained by Julien Pauli (video from PHP UK Conference 2014)
node.js
PayPal drops Java, goes node.js / JavaScript
laracon-2014-eu-amsterdam
Laracon 2013 – Jordi Boggiano: In Depth Composer (47min video)
DigitalOcean coupon voucher 50
Only today: $50 coupon for DigitalOcean SSD VPS / hosting
How Snapchat wants to earn money (by establishing vertical videos)
hack-php
Facebook releases HipHop (HHVM) 3.0, adds mysqli and support for Hack language
Ghost
[FREE SERVER PROMO] Install GHOST for free on a free SSD server with this coupon
Adobe releases Firebug-like developer tools to edit and extract PSDs
sass laravel
SASSmeister is a real-time JSfiddle for SASS / CSS. Awesome!
phpstorm-8
PHPStorm 8 (early access version) released – for free
offf-2014
Europeans: Get ready for OFFF conference / festival in Barcelona, May 2014
Creators of Laravel launch one-click-installations of Laravel (including nginx, PHP 5.5 etc.)
MINI2, an extremely simple barebone PHP application on top of Slim
bitdeli git github stats
php-login goes #2 PHP script worldwide in BitDeli stats
modern-php
Creator of Slim framework and “PHP – The right way” writes book: “Modern PHP”, available 2015

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy