Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: John-Paul Stewart Newsgroups: comp.lang.php Subject: Re: getting started with encryption Date: Fri, 10 Oct 2014 18:53:18 -0400 Lines: 19 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net j27pdCUbBhaoHpnYZkOsbQkjNgbTXX3/dIOkmpfSHWUjRNSWE9 X-Orig-Path: mail.binaryfoundry.ca!not-for-mail Cancel-Lock: sha1:9nTkDwWAoujnkKTEeGC5ekEeJ0I= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 In-Reply-To: Xref: csiph.com comp.lang.php:14310 On 10/10/14 02:46 PM, bill wrote: > > My preliminary understanding is that I should use mcrypt. phpMyAdmin > says "The mcrypt extension is missing. Please check your PHP > configuration." > > apt-get upgrade php5-mcrypt says it is installed and up to date. > phpinfo() has no mention of mcrypt. Since you're using apt-get, I assume you're using Debian or a derivative. So you've installed the necessary files but not configured PHP to use it. Run (as root): php5enmod mcrypt Then restart Apache. That should enable the PHP extension. If you're not running a Debian derivative, then you'll probably have to edit php.ini as another poster has suggested.