Problem solving 1. install apt-getinstallphp5-mcrypt2. edit the php configuration file vim/etc/php5/cgi/php. ini locate mcrypt and add the red line below: [mcrypt]; Formoreinformationaboutmcryptsettingsseehttp: // php.net /...
Problem solving
1. install apt-get install php5-mcrypt
2. edit the php configuration file vim/etc/php5/cgi/php. ini and find mcrypt and add a 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. 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
Author: ""