启用MPM Worker时出错

我正在努力使MPM工人

我在/etc/sysconfig/httpd取消了#HTTPD=/usr/sbin/httpd.worker并重新启动了Apache,但是我收到了这些错误:

启动httpd:httpd.worker: /etc/httpd/conf/httpd.conf第222行的语法错误/etc/httpd/conf/httpd.conf第9行的语法错误:无法加载/etc/httpd/modules/libphp5-zts.so到服务器: /etc/httpd/modules/libphp5-zts.so :无法打开共享对象文件:没有这样的文件或目录

任何想法我做错了什么?

你需要安装php-zts包:

 Name : php-zts Version : 5.3.8 Release : 2.el5.art Architecture: x86_64 Size : 4210728 Packager : None Group : Development/Languages URL : http://www.php.net/ Repository : atomic Summary : Thread-safe PHP interpreter for use with the Apache HTTP Server Description : The php-zts package contains a module for use with the Apache HTTP Server which can operate under a threaded server processing model. 

并确保这个扩展存在于/etc/httpd/modules

 ls -l /etc/httpd/modules/libphp5-zts.so -rwxr-xr-x 1 root root 4210728 Nov 1 05:29 /etc/httpd/modules/libphp5-zts.so