View Single Post
  #6  
Old 25th August 2008, 20: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"
extension=mcrypt.so

Save

restart ispconfig_server

I have ispconfig 2.2.24 with Fedora9

Worked great!

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

e.g.
mkdir /root/ispconfig/php/modules
cp /usr/lib/php/modules/mcrypt.so /root/ispconfig/php/modules/mcrypt.so
vi /root/ispconfig/php/php.ini
extension_dir = "/root/ispconfig/php/modules"
extension=mcrypt.so
:wq
/etc/init.d/ispconfig_server restart

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