View Single Post
Old 25th August 2008, 21:19
ethanlifka ethanlifka is offline
Junior Member
Join Date: Aug 2008
Posts: 29
Thanks: 0
Thanked 6 Times in 4 Posts
Default Add mcrypt to ispconfig php

I was able to add mcrypt without recompiling.

My /etc/php.ini used "/usr/lib/php/modules" for its extension_dir. So I used it in the ispconfig dir. Your modules dir maybe different depending on your distro.

edit php.ini in /root/ispconfig/php

extension_dir = "/usr/lib/php/modules"


restart ispconfig_server

I have ispconfig 2.2.24 with Fedora9

Worked great!

You could also create a dir in /root/ispconfig/php

mkdir /root/ispconfig/php/modules
cp /usr/lib/php/modules/ /root/ispconfig/php/modules/
vi /root/ispconfig/php/php.ini
extension_dir = "/root/ispconfig/php/modules"
/etc/init.d/ispconfig_server restart

Recompiling may depend on you distro as well.
Reply With Quote