Function in WordPress Plugin Not Looking in Path for Imagick

I have inherited a site with a custom plugin that is supposed to decrypt member information and a captured signature and put it into a PDF. The function uses (in this order) TCPDF to create the document; jSignature to convert the decrypted signature to Base30->Base64->Native->SVG; and Imagick to convert the signature to a JPG.

Everything works up to calling the Imagick class to handle the signature file. Imagick is in usr/bin/convert, but the function does not see the class 'Imagick'. Maybe it's not looking? Looking in the wrong place? How do I get the function to look in the right place?

EDIT

I have just realized that the site that uses this plugin is in a subdomain, but ImageMagic (and, I believe the Imagick libraries) are installed in the root. Could this be my problem? If so, how do I fix it?

Solutions

It turns out that the subdomain could not see the install in the root. The fastest way to fix it was just install in the subdomain. All is working now. Thanks, everyone, for putting some brain power to this.

Similar questions

do relative path in wordpress plugin point to wp-admin path?
Actually I saved my image generated by my plugin in a folder images_uploads under my plugin folder when I wrote my plugin where i need to include a relative path. I realise that there is error generated by Firebug. And the file actually point to wp-admin. For example: Actually is <img src = "http://example.com/wp-admin/images_uploads/image.jpg"&...
theme path to plugin path
If I throw the above file in some plugin then what will be the path name? let's say the name of the plugin is pluginzigsaw
ajax url path is not defined, how to get the wordpress file path in ajax url?
Getting error on ajax URL path in wordpress. It's working on localhost, But it's not working on the server. And my upload-file.php is located at domainname.com/wp-content/themes/mytheme/upload-file.php How can I define the URL path jquery ajax? Please help me to solve the issue. Here is my code sample:
I'm looking for advice on a WP error. After WP update the plugin page & WP-admi won't load. Too few arguments to function wpdb::prepare()
I have a plugin that appears to be not working. The page that references it is completely blank and so is the WP-Admin page. Inspecting the html on the referenced plugin page revealed this: Here is line 35 from CRPHelper: Any thoughts?
Moving existing media items to new upload path structure not updating full URL path
Have been developing a site and noticed that all of the media files were being saved in the default WP year/month/day rule in the wp-content/uploads directory. I decided to change this to assets and unchecked the option to store these in the date format. End goal here is to bring over all of the existing media to use that new path. I extracted all ...
Echo page path suffix only - not the title, path or permalink
Is it possible to echo a page path suffix only? ie: if the path/permalink is example.com/about, echo just "about"? My page paths are different than my page titles (ie: page title for example.com/about is "About ACME Co.") so I cannot use the_title() I am trying to echo just the suffix so it is the same name as an icon image for each page, so if the...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy .