delavior
V2EX  ›  问与答

php 的 mbstring 模块安装不了

  •  
  •   delavior · Apr 24, 2015 · 1902 views
    This topic created in 4062 days ago, the information mentioned may be changed or developed.
    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的方式报错,不知道为啥
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2379 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 16:06 · PVG 00:06 · LAX 09:06 · JFK 12:06
    ♥ Do have faith in what you're doing.