Home > Backend Development > PHP Tutorial > Warning: exec() [function.exec]: Unable to fork, problem with configuring git webhook

Warning: exec() [function.exec]: Unable to fork, problem with configuring git webhook

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-04 09:21:14
Original
1905 people have browsed it

My server is Alibaba Cloud's Win server 2008
The git hosting warehouse is coding, and the hook.php content I configured is
exec("git pull", $array2);var_export($array2);
But the page returns
Warning : exec() [function.exec]: Unable to fork [git pull]
Why is this?
Help?

Reply content:

My server is Alibaba Cloud's Win server 2008
The git hosting warehouse is coding, and the hook.php content I configured is
exec("git pull", $array2);var_export($array2);
But the page returns
Warning : exec() [function.exec]: Unable to fork [git pull]
Why is this?
Help?

Maybe resources are exhausted

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

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

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template