Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am struggling to enable MPM Worker

I uncommented #HTTPD=/usr/sbin/httpd.worker in /etc/sysconfig/httpd and restarted Apache but I am receiving these error:

Starting httpd: httpd.worker: Syntax error on line 222 of /etc/httpd/conf/httpd.conf: Syntax error on line 9 of /etc/httpd/conf.d/php.conf: Cannot load /etc/httpd/modules/ into server: /etc/httpd/modules/ cannot open shared object file: No such file or directory

Any ideas what I am doing wrong?

share|improve this question
do you have the file /etc/httpd/modules/ – Mike Dec 6 '11 at 2:28
up vote 2 down vote accepted

You need to install php-zts package:

Name        : php-zts
Version     : 5.3.8
Release     :
Architecture: x86_64
Size        : 4210728
Packager    : None
Group       : Development/Languages
URL         :
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.

and make sure that this extension exists in /etc/httpd/modules:

ls -l /etc/httpd/modules/ 
-rwxr-xr-x 1 root root 4210728 Nov  1 05:29 /etc/httpd/modules/
share|improve this answer
thanks that was it! – Maca Dec 6 '11 at 8:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.