ImageMagick works, but not with Coppermine -> Installation Problem ImageMagick works, but not with Coppermine -> Installation Problem
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

ImageMagick works, but not with Coppermine -> Installation Problem

Started by derdaniel, May 18, 2005, 12:18:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

derdaniel

hi there,

i'm sorry, but i have to ask again for this topic ;-)
i scanned through every findable post for (maybe) my problem, but nothing works.
i'm a IT person and after hours of testing and trying several problem sources, i have to give up and ask here  :-\\
i've a dedicated server with apache, mysql and php working, i also can access the 'convert' from imagemagick in the command line in /usr/bin/ and convert an image with it :-)

My Error Message during Installation:
The installer found the ImageMagick 'convert' program in '/usr/bin/', however it can't be executed by the script.

What i've tried:

  • chmod 777 to all necessary folders
  • long_arrays in php.ini
  • safe_mode_exec dir = /usr/bin/ in php.ini
  • then: safe_mode off in php.ini
  • convert has -rwx- permission in filesystem, and apache can access it
also all options in the install.php-form are absolutely correct, and i've installed coppermine several times successfully on a windows server.

so please help me, what can be the reason?  ???

OmegaGOD

1.) The convert binary and its traversed path, /usr, and /usr/bin/ must be assessible by the webserver.

Since the installer found the Imagemagick 'convert' binary this has been satisfied.

2.) The 'convert' binary must be executable by the webserver. For testing purposes make sure that the convert binary is executable by the world, ie CHMOD 755.
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

derdaniel

hi omega, thanks for your reply.

convert has already chmod 777

i found out: httpd is run by the user "apache"
>> with ps -aux | grep httpd <<

i also set him as owner to chmod with:
>>sudo chgrp apache /usr/bin/convert <<

/usr and /usr/bin had already 755, but i set it again

--> but nothing has changed :-(

[edit]
i went to the linux-guru at the university and he says: apache can access the file, we looked together with putty at the server, and his opinion is: it should work ^_^

and: i re-tried converting an image on console, it worked perfectly - i go to my webroot-directory (/var/www/web6/html/coppermine/)
type: convert images/logo.gif -resize 50% images/logo2.gif - it creates the resized file and i can access it via the internet
[/edit]

--> but nothing has changed :-(

derdaniel

UPDATE:

:o :o :o :o :o :o :o :o :o :o :o :o :o :o

if you have a dedicated server, note, that it's possible that every virtual host has its own "php.ini" (not really, but a few commands for themselves)

for example: in the vhost config at confixx, you must add the line "php_admin_flag safe_mode Off"
to every virtual host who will use the exec() command ;-)
(or: set the "safe_mode_exec value /bin../")

-> problem solved   :D

Joachim Müller