pleskpanel
Regular Pleskian
Username:
TITLE
ImageMagick 6.9.13-25 breaks PDF reading
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
AlmaLinux 9.5 (Teal Serval), Plesk Obsidian 18.0.68 Update #2
PROBLEM DESCRIPTION
Latest release of ImageMagick 6.9.13-25 updated via YUM breaks PDF reading and returns an error. This is the stock version that comes from the EPEL library.
STEPS TO REPRODUCE
Try running a PHP script to read anything about a PDF file:
ACTUAL RESULT
Fatal error: Uncaught ImagickException: Failed to read the file
EXPECTED RESULT
Should read a PDF file
ANY ADDITIONAL INFORMATION
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
ImageMagick 6.9.13-25 breaks PDF reading
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
AlmaLinux 9.5 (Teal Serval), Plesk Obsidian 18.0.68 Update #2
PROBLEM DESCRIPTION
Latest release of ImageMagick 6.9.13-25 updated via YUM breaks PDF reading and returns an error. This is the stock version that comes from the EPEL library.
STEPS TO REPRODUCE
Try running a PHP script to read anything about a PDF file:
Code:
$pdfMain = new \Imagick( dirname(__FILE__) . '/test.pdf' );
$numberPages = $pdfMain->getNumberImages();
printf( '<pre>%1$s</pre>', print_r( $numberPages, 1 ) );
die( 'end' );
ACTUAL RESULT
Fatal error: Uncaught ImagickException: Failed to read the file
EXPECTED RESULT
Should read a PDF file
ANY ADDITIONAL INFORMATION
- Bug started with latest release of ImageMagick 6.9.13-25
- Checked that there were no custom exceptions set in the policy xml file
- Attempted to add a manual PDF coder read|write policy and following a full server restart, to no avail
- No other ImageMagick versions installed
- Attempted removing/reinstalling both GhostScript as well as ImageMagick (all default settings) via YUM as these worked until the latest release
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug