PhpMyAdmin出错
查勘日志:
cat /opt/lib/apache2/logs/error_log
[Thu Mar 20 16:55:52.518812 2014] [:error] [pid 23011:tid 139909012576000] [client 127.0.0.1:37002] PHP Fatal error:
Call to undefined function mb_detect_encoding() in /opt/lib/apache2/htdocs/phpMyAdmin/libraries/php-gettext/gettext.inc on line 177, referer: http://localhost/phpMyAdmin/
mbstring扩展库模块没有安装
1、进入php源代码目录cd /mybk/php-5.5.10/ext/mbstring
2、/opt/php/bin/phpize
3、/opt/php/bin/php-config
4、./configure --with-php-config=/opt/php/bin/php-config
5、make
6、sudo make install
7、
php.ini中追加extension=mbstring.so
8、
sudo service apachectl restart