PEAK XOOPS - ImageMagick Problems in englishin japanese

ImageMagick Problems

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 | Posted on 2004/1/24 9:18
Blake  企霹始   Posts: 9
I just moved my site from one server to another and on the old server, I had no problems with ImageMagick, but now my new host won't help me with my problems - I just can't get ImageMagick to work.

I tried everything listed in this thread (except changing the permissions of ImageMagick): here

And couldn't get it working - I'm on a standard redhat installation and both convert and mogrify are in /usr/bin, but they don't show up in the check config.
Votes:2 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/1/24 9:20
Blake  企霹始   Posts: 9
Here's phpinfo() if it's any help:

http://reseller.equivity.com/phpinfo.php
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 .2 | Posted on 2004/1/24 11:38
GIJOE  黎扦烦菱   Posts: 4110
hi Blake.

Quote:
And couldn't get it working - I'm on a standard redhat installation and both convert and mogrify are in /usr/bin, but they don't show up in the check config.
Is it /usr/bin ?
The path of ImageMagick's binary is /usr/X11R6/bin in standard redhat installation.
At first, you should try "which" command.
Votes:1 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/1/24 12:44
Blake  企霹始   Posts: 9
Here's the results of:

<?php
  system("which mogrify");
?>

<?php
  system("which convert");
?>

/usr/bin/mogrify /usr/bin/convert

http://sd-6.com/test.php
Votes:1 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/1/25 5:16
Blake  企霹始   Posts: 9
Quote:
Is it /usr/bin ?
The path of ImageMagick's binary is /usr/X11R6/bin in standard redhat installation.
At first, you should try "which" command.
I tried both /usr/bin, /usr/bin/conver, /usr/bin/mogrify, and /usr/X11R6/bin, but all without any luck. My host is still insisting it's a standard installation and ImageMagick is installed.
Votes:1 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/1/25 6:08
GIJOE  黎扦烦菱   Posts: 4110
hi Blake.

There is no problem that ImageMagick is installed in /usr/bin.

Try this code.
<?php
  system("/usr/bin/convert --help");
  var_dump( is_executable( "/usr/bin/convert" ) ) ;
  system( "/bin/ls -al /usr/bin/convert" ) ;
?>
Votes:1 Average:0.00

question Re: ImageMagick Problems

msg# 1.2.2.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/1/25 7:04
Blake  企霹始   Posts: 9
Tried that code and got some odd output - you can check it at http://www.sd-6.com/test.php
Votes:1 Average:10.00

question Re: ImageMagick Problems

msg# 1.2.2.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/1/25 7:13
Blake  企霹始   Posts: 9
I'm assuming the:

bool(false) -rwxr-xr-x 1 root root 61880 Jan 15 22:07 /usr/bin/convert

FALSE means it's not executable? So should I bring this up with my host?
Votes:0 Average:0.00

question Re: ImageMagick Problems

msg# 1.2.2.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2004/1/25 15:09
Blake  企霹始   Posts: 9
My host said that they reinstalled ImageMagick in both /usr/bin and /usr/local/bin, but using both with MyAlbum doesn't work. I put the "is_executable" into a PHP file and both of them return bool(false). Any idea how to fix this?
Votes:0 Average:0.00

question Re: ImageMagick Problems

msg# 1.2.2.1.1.1.1.1
Previous post - Next post | Parent - No child | Posted on 2004/1/26 5:39
GIJOE  黎扦烦菱   Posts: 4110
It is not trouble of ImageMagick itself, I think.

Some setting of the hosting prevent php from executing some kind of system binary.

As I'm not an admin of the hosting, I don't know how to fix it.

You can claim the host with grounds on:
is_executable() returns false
convert can't be exuecuted from php

Perhaps their skill is little poor.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!