Install mysql graphics management tool phpMyAdmin

Source: Internet
Author: User
[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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.