Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Matthew Carter Newsgroups: comp.lang.php Subject: Re: getting started with encryption Date: Fri, 10 Oct 2014 16:36:49 -0400 Organization: Ahungry (http://ahungry.com) Lines: 31 Message-ID: <87lhonr7a6.fsf@ahungry.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="7c986cd4736462de309a749b207746fe"; logging-data="22531"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yXxlDxsAJzdLCc8OVtcTI" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:wdNvTZQq931HkcbsPrbugNV7HKE= sha1:e9F7CwyEm+JakAHkbypOyErm/aE= Xref: csiph.com comp.lang.php:14308 bill writes: > It has been decided that encrypting patient notes would be a good > idea. I anticipated this when I wrote the original code and all > patient note writes go through a null (now) function and all notes to > be read, likewise. > > 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. > > > I would welcome any comments about mcrypt and/or how to get it > installed if it is not. > > Thanks in advance > -bill Hi Bill, On Arch Linux I have to add the following line to php.ini: extension=mcrypt.so -- Matthew Carter (m@ahungry.com) http://ahungry.com