I confirm the bug and the previous workaround did NOT solve the problem:

"sudo apt-get purge php5-mcrypt && sudo apt-get install php5-mcrypt does
not resolve this issue."

This does solved it:


Check if mcrypt is not enabled:

root@prod:/etc/php5/mods-available# php -m | grep mcrypt

Symlinks to the wrong mcrypt.ini as a workaround:

root@prod:/etc/php5/mods-available# ln -sf /etc/php5/conf.d/mcrypt.ini .

Enabled the mcrypt mod:

root@prod:/etc/php5/mods-available# php5enmod mcrypt

Check if it was enabled:

root@prod:/etc/php5/mods-available# php -m | grep mcrypt
mcrypt

Restart services:

root@prod:/etc/php5/mods-available# service apache2 restart

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1318021

Title:
  Not Find mcrypt.ini

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-mcrypt/+bug/1318021/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to