V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
delavior
V2EX  ›  问与答

php 的 mbstring 模块安装不了

  •  
  •   delavior · 2015-04-24 08:56:00 +08:00 · 1574 次点击
    这是一个创建于 3312 天前的主题,其中的信息可能已经有所发展或是发生改变。
    redhat早就安装了php,现在想添加两个模块bcmath和mbstring
    按网上的教程,手动下载了php,解压以后进入bcmath目录下,运行/usr/local/php/bin/phpize,生成一个configure文件,然后执行./configure --with-php-config=/usr/local/php/bin/php-config,然后make,make install,然后修改php.ini,添加extension="bcmath",然后重启apache
    按上面的步骤,bcmath倒是安装成功了,php -m显示的列表里已经有了,但是mbstring试了几次都没有
    请问是什么原因,怎么解决啊

    PS:直接yum install php-mbstring的方式报错,不知道为啥
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2152 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 10:23 · PVG 18:23 · LAX 03:23 · JFK 06:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.