• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Question MPM-mode & php5

L. Hagen

Basic Pleskian
Hello everybody,

when I started with Plesk the apache MPM-mode was set to "prefork" as default. Now I tried to change it to "event". But when I do this the "php5" module will be disabled and greyed out. So it canot be enabled in the "event"-mode.

Perhaps I have a complete misunderstanding, but what I'm doing wrong or how can this be solved?


Thank you for your help and best regards,
Lars
 
Hi L. Hagen,

Perhaps I have a complete misunderstanding, but what I'm doing wrong or how can this be solved?
If you have modules, which are compiled for a unique apache-version, you have to make sure, that these modules are again compiled for the mpm-event version, if you would like to use them. In other words: "libapache2-mod-php5" ( or "libapache2-mod-php" ) has been compiled for mpm-prefork and not for mpm-event. ;)
 
Hi L. Hagen,
If you have modules, which are compiled for a unique apache-version, you have to make sure, that these modules are again compiled for the mpm-event version, if you would like to use them. In other words: "libapache2-mod-php5" ( or "libapache2-mod-php" ) has been compiled for mpm-prefork and not for mpm-event. ;)

Hi UFHH01,

ok I see and it sounds obvious. Neverthless, I'm a bit surprised that this is not done (or will be provided by default) by Plesk (especially for such an important module...).

Thx for your help!
 
Hi L. Hagen,

pls. note, that "libapache2-mod-php5" ( or "libapache2-mod-php" ) ist part of your vendor PHP(5) - package, which you install on your server.
 
Hi L. Hagen,
pls. note, that "libapache2-mod-php5" ( or "libapache2-mod-php" ) ist part of your vendor PHP(5) - package, which you install on your server.

Hi UFHH01,

yeah and it is allready installed. Otherwise the module wouldn't work in the prefork-mode, would it? But if I'm not wrong and if I understand you in the right way, the module seems not to be compiled in the right way (not for the event-mode) by Plesk, so that I have to do it by myself. Usually not the problem, but I really don't like to touch components which are part of the normal update process. That's not so funny... Or do you know any other method (maybe I'm completely wrong with my thoughts) :)

regards,
Lars
 
Hi L. Hagen,

neither your apache version, nor your vendor PHP(5) - package are shipped by Plesk.

Pls. inform yourself about apache2-mpm-event and "thread-safe" and you will notice, that PHP iself is NOT thread-safe on linux environments. With apache2-mpm-event, you can't use the module "mod_php", while apache2-mpm-prefork allows the usage of an embedded PHP interpreter. ;)
 
Back
Top