coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: kkruecke on May 22, 2005, 08:05:52 PM

Title: ImageMagick exists but installer says I don't have permission to access it--why?
Post by: kkruecke on May 22, 2005, 08:05:52 PM
During installation, I get :

"The installer can not find the '/usr/bin/' directory you have specified for ImageMagick or it does not have permission to access it."

I'm not sure why I am getting this message, or how to work around it. I installing cpg133 on a shared domain. The hoster does have ImageMagick installed. The path to it convert is: /usr/bin. If I start an ssh session, I can execute convert without any problem.

I can install using the GD choice, but I'd prefer ImageMagick in order to get support for GIF thumbnails.

thanks,
Kurt
Title: Re: ImageMagick exists but installer says I don't have permission to access it--
Post by: Joachim Müller on May 23, 2005, 08:59:47 AM
Try GD instead of IM and read GIF support (http://forum.coppermine-gallery.net/index.php?topic=9407.0) to find out how to get gif support in coppermine using GD. If you insist on ImageMagick, ask your webhost to change permissions on the folder ImageMagick's convert executable lies in: the user the webserver runs under needs r-x permissions.
Title: Re: ImageMagick exists but installer says I don't have permission to access it--why?
Post by: Urge on June 03, 2005, 01:38:31 AM
I'm having the same problem. Dedicated server that I own.  Tried installing it into the vhost dir of the domain too, and no luck.  Its some type of access rights issue, but I can't figure it out.  If I point it to /tmp (where convert is NOT at) it errors:

`The installer can not find the 'convert' or 'convert.exe' ImageMagick program in directory '/tmp/'. Check that you have entered the correct directory name.`

So I'm not sure what is causing the access errors, and I will not switch to GD.  Any help is appreciated.

Server/Config info:
Linux: FC2
IM originally installed to `/usr/local/bin` second attempt at `/home/httpd/vhosts/domain/im`
Title: Re: ImageMagick exists but installer says I don't have permission to access it--
Post by: kegobeer on June 03, 2005, 02:31:50 AM
The directory would be /usr/local/bin/

If you can't get ImageMagick working correctly, your best bet would be to visit the ImageMagick forum and ask your config questions there.
Title: Re: ImageMagick exists but installer says I don't have permission to access it--why?
Post by: Urge on June 03, 2005, 04:08:21 AM
IM works fine @ the command line.  Its just Coppermine has some weird access restrictions to it which I cannot figure out.
Title: Re: ImageMagick exists but installer says I don't have permission to access it--
Post by: kegobeer on June 03, 2005, 05:49:35 AM
Working from the command line isn't the same thing as working from within a PHP script.  You have to configure the ImageMagick directory to allow PHP to access it.
Title: Re: ImageMagick exists but installer says I don't have permission to access it--why?
Post by: Urge on June 03, 2005, 09:45:43 AM
Howsabout some insight on this configuration then? I've tried everything I know, even `chown apache`and it still doesnt work.  How come it can access /tmp but not /usr/local/bin?
Title: Re: ImageMagick exists but installer says I don't have permission to access it--
Post by: Joachim Müller on June 03, 2005, 09:56:44 AM
this is the wrong site for ImageMagick things, I suggest checking the ImageMagick boards
Title: Re: ImageMagick exists but installer says I don't have permission to access it--why?
Post by: Abbas Ali on June 03, 2005, 10:46:03 AM
Quote from: Urge on June 03, 2005, 09:45:43 AM
How come it can access /tmp but not /usr/local/bin?

Have you tried /usr/local/bin/ and NOT /usr/local/bin when it asks for imagemagick path during installation?
Title: Re: ImageMagick exists but installer says I don't have permission to access it--
Post by: kegobeer on June 03, 2005, 02:22:23 PM
Quote from: Abbas Ali on June 03, 2005, 10:46:03 AM
Quote from: Urge on June 03, 2005, 09:45:43 AM
How come it can access /tmp but not /usr/local/bin?

Have you tried /usr/local/bin/ and NOT /usr/local/bin when it asks for imagemagick path during installation?

Quote from: kegobeer on June 03, 2005, 02:31:50 AM
The directory would be /usr/local/bin/

If you can't get ImageMagick working correctly, your best bet would be to visit the ImageMagick forum and ask your config questions there.

Exactly what I said earlier in the thread.
Title: Re: ImageMagick exists but installer says I don't have permission to access it--why?
Post by: Urge on June 03, 2005, 07:09:43 PM
OMG Yes, im not a fucking retard.  The problem is not associated with IM.  Its associate with Coppermine not having access to the FOLDER in which IM is located (/usr/local/bin/).  So why does Copper not have access rights to /usr/local/bin/ ? That is what I cannot determine.
Title: Re: ImageMagick exists but installer says I don't have permission to access it--why?
Post by: Nibbler on June 03, 2005, 07:51:54 PM
It wouldn't be Coppermine specifically, it would be the user that apache runs as. su to that user and try the command.