mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 19:11:16 +00:00
Fixes imagick segfault by setting its threads to 1
This commit is contained in:
@@ -9,8 +9,8 @@ error_reporting(-1);
|
||||
|
||||
$PHP_VERSION = str_replace('-dev', '', PHP_VERSION);
|
||||
|
||||
// Only available since 5.3.0 (PHP 5.3, 5.4 and 5.5 segfaults)
|
||||
if (version_compare($PHP_VERSION, '5.6.0', '<')) {
|
||||
// Only available since 5.3.0 (PHP 5.3 and 5.4 segfaults)
|
||||
if (version_compare($PHP_VERSION, '5.5.0', '<')) {
|
||||
echo 'SKIP';
|
||||
exit(0);
|
||||
}
|
||||
|
||||
@@ -9,8 +9,8 @@ error_reporting(-1);
|
||||
|
||||
$PHP_VERSION = str_replace('-dev', '', PHP_VERSION);
|
||||
|
||||
// Only available since 5.3.0 (PHP 5.3, 5.4 and 5.5 segfaults)
|
||||
if (version_compare($PHP_VERSION, '5.6.0', '<')) {
|
||||
// Only available since 5.3.0 (PHP 5.3 and 5.4 segfaults)
|
||||
if (version_compare($PHP_VERSION, '5.5.0', '<')) {
|
||||
echo 'SKIP';
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user