One of background scripts in my project uses PCNTL to fork. Also, I have a requirement checker script that should be run by user before script installation. Since pcntl can be accessed only in CGI mode, both function_exists('pcntl_fork')
and extension_loaded('pcntl')
return FALSE
in Web mode, so my checker shows always requirement error, as it launched via browser, even if it is enabled. Is there any method to check pcntl
support is enabled from web mode?
问问题
1279 次