• 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!
  • 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.

Enabling PHP pcntl on domain

brainforge

Basic Pleskian
In PHP I want to use pcntl_fork() on a domain.

Centos 6, Plesk 12.5
Using PHP 7.0.4 FPM application served by Nginx.

Looks like its not as easy as slippling "extension=pcntl.so" into the additional configuration directives field og PHP settings for the domain.

I cannot find pcntl.so on the server.

Is this possible?
Any suggestions?
 
Thanks, I wanted to avoid that.

On further investigation pcntl_fork() function exists with PHP 7.0.4 FastCGI Application with Apache setting.

The following looks like it will achieve what I want and maybe has future flexibility.

Main site PHP 7.0.4 FPM application served by Nginx
Does a curl call to - http://workers.mydomain.com

workers.mydomain.com served by PHP 7.0.4 FastCGI Application with Apache
Does whatever it wants using pcntl_fork() and returns result.
Workers could even be on another machine - potential for future load sharing...!
 
Back
Top