Problem solving
1. Installing Apt-get Install Php5-mcrypt
2. Edit the PHP configuration file Vim/etc/php5/cgi/php.ini find MCrypt and add the red line below:
[MCrypt]
; For more information about MCrypt settings See Http://php.net/mcrypt-module-open
; Directory where to load mcrypt algorithms
; Default:compiled in Into Libmcrypt (Usually/usr/local/lib/libmcrypt)
; mcrypt.algorithms_dir=
Mcrypt.algorithms_dir=/etc/bash_completion.d/mcrypt
3. Note To restart fast-cgi after adding:
root@ubuntu:/# killall-9 php-cgi
root@ubuntu:/#/usr/bin/spawn-fcgi-a 127.0.0.1-p 9000-c 20-u nginx-g nginx-f/usr/bin/php5-cgi
The author "Little White Love Rookie"
http://www.bkjia.com/PHPjc/478630.html www.bkjia.com true http://www.bkjia.com/PHPjc/478630.html techarticle problem solving 1. Installing Apt-get install Php5-mcrypt 2. Edit the PHP configuration file Vim/etc/php5/cgi/php.ini find MCrypt and add the red line below: [MCrypt]; For more information about MC ...