• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Question Is there anyway to enable "read pdf" for php imagick ?

Danny325

Basic Pleskian
I have seen imagick has released a security patch to disable read/write for pdf files.
I need this feature to create images out of pdf files.

According stackoverflow there is a simple way by adding "read" for policy.xml file in etc/Imagemagick-X/ like:
<policy domain="coder" rights="none" pattern="PDF" />
->
<policy domain="coder" rights="read" pattern="PDF" />

Is there any way to enable this in plesk as with every new php version it stop working by default ?
 
Back
Top