php - Warning: exec() [function.exec]: Unable to fork,配置git的webhook的问题

 mobiledu2502860957 发布于 2022-11-30 16:12

我的服务器是阿里云的Win server 2008
git托管仓库是coding,我配置的hook.php内容是
exec("git pull", $array2);var_export($array2);
但是页面返回
Warning: exec() [function.exec]: Unable to fork [git pull]
这是为什么呢?
求助?

1 个回答
  • 可能是资源被耗尽

    Forking means in this case the operation to create a new process using the fork() system call. fork() usually failes because necessary system resources are exhausted, it is likely that memory limits or the maximum number of open processes per system is reached.

    源自http://stackoverflow.com/questions/20732394/what-does-the-unable-to-fork-error-mean

    2022-11-30 16:54 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有