Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

gwa's avatar
Level 3

mcrypt and php 5.5

I have a discusion with the Admin at a company i make Projekts for. He said that he could not host Laravel Projects because of mcrypt. The reason is that mcrypt have to be compiled since php version 5.5? Its a Debian Server. Does anyone has some experiance with that? I didnt realy find something about the support of mcrypt.

greetings Max

0 likes
8 replies
bashy's avatar

For Debian I use dotdeb for LNMP environment - https://www.dotdeb.org/about/

You can do this to install php5 and php5-mcrypt

sudo apt-get install php5 php5-mcrypt

Although I go for mainline Nginx branch

1 like
nolros's avatar

Max and bashy, sorry to hijack the post, but for my education why would mcrypt be a problem. Don't feel obligated to reply, just found this interesting.

bashy's avatar

I believe the problem is that they can't get mcrypt to install? Maybe I was wrong and they were stating that they don't want to use php5-mcrypt...

1 like
gwa's avatar
Level 3

Problem is that the admin of this company dont want compile mcrypt or any other package. And that is because he is running more than 20 Servers and want to have the same configuration. Thats what they told me. For me personal its not a Problem to install mcrypt or compile it.

1 like
bashy's avatar

Not much you can do about it then. Not sure what setup they have but if they're unable or unwilling to compile/install support for mcrypt on only one server (or all), best just to leave the company :) god complex much?

nolros's avatar

ROFL! I was going to say no mcrypt pretty that limits the dev solutions deployed, if I recall RoR uses it as well as I've installed with brew. What is interesting is that it is written in a C derivative (I think). That said, it is a pain in the ass to compile.

neovive's avatar

Maybe setup a Vagrant VM to demonstrate Laravel/mcrypt running in a similar environment.

gwa's avatar
Level 3

Thanks for the Answers :)

@bashy: I allready left but have one Projekt with them as a Freelancer ;)

At the end he installed mcrypt and we are running a Laravel 5 Projekt.

Please or to participate in this conversation.