I had the same issue, and found the previous suggestions gave me enough info to get it working on my server. The following is what I did:
1) Install EPEL repository (From: http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x):
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
2) Install it via:
yum update yum install php-mcrypt*
The yum update updated the repository reference on my server then the 2nd command got what I needed :)
3) Restart your webserver. For my apache install I did:
service httpd restart
오래전 글이지만 도움이 많이 되었습니다.
오래전 작성된 많은 소스를 보니 Mcrypt를 사용했더군요.
저는 다음과 같이 수정했습니다.
$this->load->library('encrypt'); encrypt 라이브러리 대신 다음처럼 encryption 라이브러리를 사용합니다.
$this->load->library('encryption');
$this->encrypt->encode() 대신 $this->encryption->encrypt()
$this->encrypt->decode() 대신 $this->encryption->decrypt()
위와 같이 소스를 수정하여 openssl을 사용하니 괜찮군요.
phpinfo(); 로 로드된 extension 확인 해 보세요.