[Root @ localhostmbstring] # wgethttp: // response
[Root @ localhost mbstring] # wget http://jaist.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/4.0.8/phpMyAdmin-4.0.8-all-languages.tar.gz
[Root @ localhost mbstring] # tar xf phpMyAdmin-4.0.8-all-languages.tar.gz-C/www
[Root @ localhost mbstring] # chown daemon. daemon/www/-R
[Root @ localhost mbstring] # service apache restart
Http: // 127.0.0.1/phpadmin/index. php
Error
The mbstring extension is missing. Please check your PHP configuration.
The error is obvious: php module extension. because I have installed php and don't want to re-compile it, I can only dynamically expand it.
[Root @ localhost logs] # cd/usr/src/php-5.3.27/ext/
[Root @ localhost ext] # cd mbstring/
[Root @ localhost mbstring] # phpize ----- generate configure and other files
[Root @ localhost modules] #. /configure -- with-libdir =/usr/local/lib/php/extensions/no-debug-zts-20060613 -- with-php-config =/usr/local/bin/php-config
[Root @ localhost modules] # make & make install
Installing shared extensions:/usr/local/lib/php/extensions/no-debug-zts-20090626/---------- this path is the path for php module extension
Installing header files:/usr/local/include/php/
[Root @ localhost modules] # pwd
/Usr/src/php-5.3.27/ext/mbstring/modules
[Root @ localhost modules] # ls
Mbstring. so
The next step is to modify php. ini.
[Root @ localhost modules] # vi/usr/local/lib/php. ini
Extension = "/usr/local/lib/php/extensions/no-debug-zts-20090626 /"
Extension = mbstring. so
Add these two lines and then restart apache
Access http: // 127.0.0.1/phpadmin/index. php again