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
安装phalcon
cd /mybk/apach-php/php-5.6.36/ext/
git clone --depth=1 git://github.com/phalcon/cphalcon.git
$ cd cphalcon/ext/$sudo ./install
(./install
$ sudo cp php5/64bits/modules/phalcon.so /opt/php/lib/php/extensions/no-debug-zts-20131226/.
)
php.ini中追加extension=phalcon.so
mymotif@mymotif-Vostro-14-5480:/mybk/apach-php/phalcon-devtools
$ git clone git://github.com/phalcon/phalcon-devtools.git