I tried with this script:
<?php
$image = new \Imagick(); $image->newImage(4096, 4096, new ImagickPixel('red'), 'jpg'); while (1) { sleep(1); }
?>
It's even worse, because script never gets killed, php-cgi process becomes unresponsive and can only be killed with SIGKILL.
I tried with this script:
<?php
$image = new \Imagick(); >newImage( 4096, 4096, new ImagickPixel( 'red'), 'jpg');
$image-
while (1) {
sleep(1);
}
?>
It's even worse, because script never gets killed, php-cgi process becomes unresponsive and can only be killed with SIGKILL.