Skip to content

Commit 60d0cbd

Browse files
committed
added pcntl to requirements check
1 parent 5406e5d commit 60d0cbd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

framework/requirements/requirements.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,12 @@
111111
'memo' => 'When <a href="https://www.yiiframework.com/doc-2.0/yii-validators-ipvalidator.html#$expandIPv6-detail">IpValidator::expandIPv6</a>
112112
property is set to <code>true</code>, PHP must support IPv6 protocol stack. Currently PHP constant <code>AF_INET6</code> is not defined
113113
and IPv6 is probably unsupported.'
114+
),
115+
array(
116+
'name' => 'pcntl',
117+
'mandatory' => false,
118+
'condition' => extension_loaded('pcntl'),
119+
'by' => '<a href="https://www.php.net/manual/de/book.pcntl.php">Process Control</a>',
120+
'memo' => 'Recommended for yii2-queue CLI operations'
114121
)
115122
);

0 commit comments

Comments
 (0)