Its weired that even after I 1) changed the file name from "php.conf" to "php.bak" (so that the php module wouldn't be loaded); and 2) enabled
"HTTPD=/usr/sbin/httpd.worker" in "/etc/sysconfig/httpd".

After I restarted the httpd service successfully (no conflict with php), I still found that the "prefork" MPM was running in the server.
[root@poplar sysconfig]# httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c

Any ideas?

you need to recompile with the desired modules.
Also, it is a really really really bad idea to rename a script witha .bak extension since the server will deliver the script unparsed and exposing all your logic and or the keys to your server.

How to recompile?

How to appropriately handle the conflict between "work" and php?


Thanks.

you need to recompile with the desired modules.
Also, it is a really really really bad idea to rename a script witha .bak extension since the server will deliver the script unparsed and exposing all your logic and or the keys to your server.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.