ImageMagick exists but installer says I don't have permission to access it--why? ImageMagick exists but installer says I don't have permission to access it--why?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

ImageMagick exists but installer says I don't have permission to access it--why?

Started by kkruecke, May 22, 2005, 08:05:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kkruecke

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

Joachim Müller

Try GD instead of IM and read GIF support 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.

Urge

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`

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Urge

IM works fine @ the command line.  Its just Coppermine has some weird access restrictions to it which I cannot figure out.

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Urge

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?

Joachim Müller

this is the wrong site for ImageMagick things, I suggest checking the ImageMagick boards

Abbas Ali

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?
Chief Geek at Ranium Systems

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Urge

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.

Nibbler

It wouldn't be Coppermine specifically, it would be the user that apache runs as. su to that user and try the command.