phpMyAdmin 提示 扩展 需要安装 mbstring
yum install php-mbstring
可以装好下面3个rpm 安装来不行 不知怎么编译php
首先需要下载3个安装包
Libmcrypt   libmcrypt-2.5.8-11.fc17.i686.rpm
mhash        mhash-0.9.9.9-5.fc17.i686.rpm
mycrypt      mcrypt-2.6.8-5.fc17.i686.rpm
依次安装 注意依存关系
以上安装最终找不到如果修改php 中配置
改源码安装
从 下载源码包
libmcrypt-2.5.8.tar.gz
mhash-0.9.9.9.tar.gz
mcrypt-2.6.8.tar.gz这3个包按 下面到说明 安装了 最后一步不知道怎么配置php有经验到说说吧。inux下mcrypt安装
作者: 蓝天下云层上 发表于 2009年11月12日 14:44 最后更新于 2009年11月12日 14:45 
版权声明:转载请征求作者同意,转载时必以超链接形式标明文章原始出处和作者信息及版权声明。
/blog/weblog-20439-1.html
2.先安装Libmcrypttar -zxvf libmcrypt-2.5.8.tar.gz
cd libmcrypt-2.5.8
./configure --prefix=/usr
make
make installcd libmcrypt-2.5.8/libltdl
./configure --prefix=/usr
make 
make install注意:不安装libltdl会导致php编译通不过。3.安装mhash
tar -zxvf mhash-0.9.9.9.tar.gz
cd mhash-0.9.9.9
./configure --prefix=/usr
make
make install4.安装mcrypt
tar -zxvf mcrypt-2.6.8.tar.gz
cd mcrypt-2.6.8
./configure --prefix=/usr
make
make install5.安装PHP
在配置PHP是加入:
./configure --with-mcrypt --with-mhash

解决方案 »

  1.   

    推荐2个网址
    http://rpmfind.net/linux/rpm2html/search.php?query=mcrypt.so&submit=Search+...&system=&arch=
    http://rpm.pbone.net/最好装了4个rpm 
    系统Centos6.1 升级后 6.3rpm 安装 php  php-devle
    libmcrypt
    mhash
    mcrypt
    php-mcrypt-5.3.3.-1.el6.i686.rpm
    注意遗存关系注意需要什么文件 不用在百度搜索 搜到东西超少。注意安装时多动脑子。看了人家的源码安装获得提示。源码安装最终的目的就是生产
    mcrypt.so 
    于是google 直接搜 mcrypt.so  就找到了第一个网址 上面的rpm 更多