Not Find mcrypt.ini

Bug #1318021 reported by DarkCowboy on 2014-05-09
This bug report is a duplicate of:  Bug #1379309: Missing maintainer scripts. Edit Remove
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
php-mcrypt (Ubuntu)
Undecided
Unassigned

Bug Description

Not install php5-mcrypt,

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: php5-mcrypt 5.4.6-0ubuntu5
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
Date: Fri May 9 13:53:15 2014
Dependencies:
 gcc-4.9-base 4.9-20140406-0ubuntu1
 libc6 2.19-0ubuntu6
 libgcc1 1:4.9-20140406-0ubuntu1
 libmcrypt4 2.5.8-3.1ubuntu1
 multiarch-support 2.19-0ubuntu6
InstallationDate: Installed on 2014-05-09 (0 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release i386 (20140416.2)
SourcePackage: php-mcrypt
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.php5.mods.available.mcrypt.ini: [deleted]

DarkCowboy (cowboy-spike19) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
Seth Arnold (seth-arnold) wrote :

This might be fixable via sudo apt-get purge php5-mcrypt ; sudo apt-get install php5-mcrypt

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in php-mcrypt (Ubuntu):
status: New → Confirmed

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

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

pataquets (pataquets) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments