这是一个创建于 3444 天前的主题,其中的信息可能已经有所发展或是发生改变。
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的方式报错,不知道为啥