Portal Home > Knowledgebase > Articles Database > Adding mcrypt support in php


Adding mcrypt support in php




Posted by portal, 08-21-2008, 05:48 AM
Hello, I'm in a little dilemma here. I need to have support for the mcrypt lib with PHP, as far as i know the only way to do that is to recompile php with the mcrypt lib, But my client is on a VPS environment so if we recompile php, it might break Plesk. Anyone else have any suggestions?

Posted by The Ally, 08-21-2008, 06:21 AM
Some Linux distributions ship with the required packages, which you can easily install via the included package manager (apt-get, yum, ...). Btw, even if you recompile, you do not break Plesk whatsoever. Just make sure that you use exactly the same configuration switches and that you provide the same modules (may require recompiling, if you go for a newer version). phpinfo() tells you, which configuration switches had been used.

Posted by portal, 08-21-2008, 06:54 AM
Yep, ended up going with yum thanks!



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
i was hacked (Views: 619)
reseller in the uk (Views: 590)