httpd启动时为何老是报这个错误
程序员文章站
2024-02-12 17:41:58
...
我的环境是:
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
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();
上一篇: echarts使用方法
下一篇: Cisco路由器密码设置
推荐阅读