Home >Backend Development >PHP Tutorial >httpd启动时为何老是报这个错误

httpd启动时为何老是报这个错误

WBOY
WBOYOriginal
2016-06-23 14:08:291139browse

我的环境是:

VirtualBox4.2.6 + Linux(RedHat) + httpd-2.4.4  + mysql-5.1.6 + php-5.4.13

进行下面的操作之前服务器还是正常的

./configure --with-mysql=/usr --with-apxs2=/usr/sbin/apxs --enable-mbstring --with-

pdo-mysql=/usr

make && make install

cp /etc/php.ini /usr/local/lib/

date.timezone = 'Asia/Shanghai'

service httpd restart

启动httpd时报如下错误,望高手解答!

Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Cannot load 

/usr/lib/httpd/modules/libphp5.so into server: /usr/lib/httpd/modules/libphp5.so: 

undefined symbol: mbstring_module_entry


回复讨论(解决方案)

系统的mbstring安装了吗

系统的mbstring安装了吗
我看了下,系统里有mbstring.so这个文件,怎么看mbstring是否安装了

echo phpinfo();

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn