Changing Apache MPM from Worker to Prefork [SOLVED]
Changing Apache MPM from Worker to Prefork
Probably during installation, I set Apache MPM Worker for Event but I intended Prefork yet I am kind of scared to change something at the production server now. All my websites are using alternative PHP 7.4-FPM as an extra PHP Interpreter and there is 8.2 for Keyhelp as well.
As I mentioned before this is a live server and I don't have a spare development server to test it so can You confirm that the method used here: https://serverfault.com/a/1050801/440487 (pic below as well) will be ok?
I am aware that it might be easy as it is but when something goes wrong then I am dead on arrival so if someone can confirm that the above method will work I will be very happy because I don't have to set up another testing machine just to do this.
Or maybe there is a built-in method that I simply can't find?
Have a great weekend!
Machine:
4 @ 3.32 GHz, 8 Gb RAM, 200GB SSD
Server version: Apache/2.4.57 (Debian 12.4)
Server built: 2023-04-13T03:26:51
Server loaded: APR 1.7.2, APR-UTIL 1.6.3, PCRE 10.42 2022-12-11
Compiled using: APR 1.7.2, APR-UTIL 1.6.3, PCRE 10.42 2022-12-11
Architecture: 64-bit
Server MPM: event
threaded: yes (fixed thread count)
forked: yes (variable process count)
-
- Posts: 586
- Joined: Tue 9. Feb 2016, 16:44
Re: Changing Apache MPM from Worker to Prefork [SOLVED]
Just change the field Settings / Configuration / Web Server / Multi-processing module (MPN) in Keyhelp.
I changed it in the past without any trouble.
The Apache will restart though.
Re: Changing Apache MPM from Worker to Prefork
Re: Changing Apache MPM from Worker to Prefork
Thanks!