Symptoms
- The following error can be found in
/var/www/vhosts/example.com/logs/error_log
file:[proxy_fcgi:error] [pid 350:tid 139649016084224] (104)Connection reset by peer: [client 203.0.113.2:58642] AH01075: Error dispatching request to :, referer: http://example.com/wordpress/wp-admin/upload.php
-
`dmesg`
command output shows the following:[4289853.349670] php-cgi[49424]: segfault at 30 ip 00007fc662113088 sp 00007fc630ad3d10 error 4
[4289853.349672] in libMagickCore.so.5.0.0[7fc661f8e000+237000]
Cause
ImageMagick library bug.
Resolution
As a workaround, disable imagick PHP module for PHP handler that is enabled for the website:
- Log into Plesk
- Browse to Tools & Settings > PHP Settings
- Click on the PHP handler that is set for the domain, e.g. PHP 5.6:
- Uncheck imagick checkbox to disable the extension
Make sure that no sites are using this module.
Note: These settings are common to the following PHP handlers: 5.6.36 CGI application, 5.6.36 FastCGI application. The settings apply to all websites that use these handlers.