[英]php function 'pcntl_exec' is undefined
Would anyone know why my pcntl_exec
is undefined? 有谁知道为什么我的
pcntl_exec
未定义? I have php 5.2.14 - the manual says it should be defined in php5. 我有PHP 5.2.14 - 手册说它应该在php5中定义。 I need an alternative to exec as my hosting provider recently locked-down these: exec, passthru, shell_exec, system, proc_open, popen, curl_multi_exec
我需要一个替代exec作为我的托管服务提供商最近锁定这些:exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec
I got the list from: ini_get("disable_functions")
. 我得到了以下列表:
ini_get("disable_functions")
。 I see no reason for it to be undefined. 我认为没有理由不定义它。
Just read the installation instructions 只需阅读安装说明即可
Process Control support in PHP is not enabled by default.
默认情况下不启用PHP中的Process Control支持。 You have to compile the CGI or CLI version of PHP with --enable-pcntl configuration option when compiling PHP to enable Process Control support.
在编译PHP以启用Process Control支持时,您必须使用--enable-pcntl配置选项编译PHP的CGI或CLI版本。
and 和
Note:
注意:
Currently, this module will not function on non-Unix platforms (Windows).
目前,该模块不能在非Unix平台(Windows)上运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.