ImageMagick path to binaries (/usr/bin) on Plesk 8

DerrickG3

Joined: 2009-03-24
Posts: 16
Posted: Tue, 2009-04-07 12:00


Gallery version = 2.3 core 1.3.0:
Module / :
PHP version (e.g. 5.1.6):
PHPInfo Link (see FAQ):
Webserver (e.g. Plesk 8):
Database (e.g. MySql 5.0.32):
Activated toolkits (ImageMagick & GD):
Operating system (e.g. Linux):
Browser (e.g. Firefox 2.0):

I am trying to get ImageMagick to work on my site but when it asks me set the path to the binaries, no matter what I use it says that the path is not valid. The path given to me by my server people is /usr/bin/convert I have tried so many different alternatives and still not joy.

I've tried enabling full SSH access on mysite.com so it has full access to all server files - still nothing. It just wont take /usr/bin/ or /usr/bin/convert no matter what derivited I use.

Is there a special way to configure this option on a Plesk 8.6 server??

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6138
Posted: Tue, 2009-04-07 12:41

Plesk has open_basedir restrictions by default.
create/edit /usr/local/www/vhosts/your_site/conf/vhost.conf

<Directory /usr/local/www/vhosts/your_site/httpdocs>
php_admin_value open_basedir none
</Directory>

and restart apache.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2