svnmanager1.10安装完成后,访问http://192.168.44.147:8080/svnmanager/, 出现如下错误:
Fatal error: Call to undefined function mb_internal_encoding() in /usr/local/apache/htdocs/svnmanager/svnmanager/MainModule/DataModule.php on line 19
百度出的结果是删除php.ini中extension=php_mbstring.dll前的注释。但是对于Linux系统,加载.dll库显然是不合适的,而且没有解决问题。有查阅了若干帖子,找到根本原因是没有安装PHP的mbstring扩展模块。
重新安装PHP,使用如下配置参数
[root@huadi-160219095359 php-5.6.11]# ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-zlib --with-gd --with-pear --with-config-file-path=/etc/ --with-gettext --enable-mbstring --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config
[root@huadi-160219095359 php-5.6.11]# make && make install
重新安装后,问题得到解决!