• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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