Menu

imagemagick not found

UNIX Help
2005-02-02
2013-04-25
  • Nobody/Anonymous

    I have installed imagemagick but the linpha install does not seems to see that. (linpha 1.0 beta3). If i install the 0.9.4 version of linpha everything works fine.

    What is wrong? I use mandrake 10.1.

    Marco Doets

     
    • bzrudi

      bzrudi - 2005-02-04

      Hi Marco,

      bad fun ;-) Mandrake is not used by any of our developers, maybe they changed something which breaks autodetection. As a workarround just finish installation and locate the convert binary in your filesystem. Then set the right path to it in the linpha_config table and set use_convert = 1 (also in the linpha_config table) and it should work again...

      cheers bzrudi

       
    • Nobody/Anonymous

      OK,

      thnx!!!
      I will try that.

      Marco

       
    • Nobody/Anonymous

      right path to it in the linpha_config table????
      what linhpa config table?? where are is?

       
      • Anonymous

        Anonymous - 2005-08-25

        the linpha database table linpha_config

        you can edit this table with for example phpMyAdmin

        greets flo

         
    • Tom Esker

      Tom Esker - 2005-12-20

      When I try to install I get "!!! INSTALLATION ABORTED !!!" and there does not appear to be a way to finish the installation as instructed above - so the linpha database is not created so I can't edit the table linpha_config.  How can I get the installation to recgonize Imagemagick? (I confirmed that it is installed with the command "convert -version"

      Tom Esker

       
      • bzrudi

        bzrudi - 2005-12-20

        Hi,

        this may help you out:
        http://sourceforge.net/forum/message.php?msg_id=3418492

        cheers bzrudi

         
    • Tom Esker

      Tom Esker - 2005-12-20

      When I try to install I get "!!! INSTALLATION ABORTED !!!" and there does not appear to be a way to finish the installation as instructed above - so the linpha database is not created so I can't edit the table linpha_config.  How can I get the installation to recgonize Imagemagick? (I confirmed that it is installed with the command "convert -version"

      Tom Esker

       
    • Tom Esker

      Tom Esker - 2005-12-20

      Thanks.  I edited the line:

      $array_lookfor = get_PATH(Array('/bin','/usr/bin','/usr/local/bin','/sw/bin','/usr/bin/convert'));

      adding the path to convert - /usr/bin/convert - and the install still does not recognize imagemagick.  I also installed the GD library but the install does not see that either.  (which gd does not show the path to gd though so I could not add it to the path above).

      Any other suggestions?

       
    • Tom Esker

      Tom Esker - 2005-12-21

      I got it to work.  I also had to set the following lines in my /etc/php.ini file:

      safe_mode = off
      php_admin_flag safe_mode off
      memory_limit = 32M

      Then restart apache:
      service -f httpd

      After that there were no error messages during the install and everything works!

       
      • bzrudi

        bzrudi - 2005-12-21

        Hi Tom,

        if you are using safe_mode, you have to make sure that convert is in the allwed paths. So you have to set save_mode_exec_dir to where convert is located to make it usable to LinPHA.
        The 32MB memory limit is not necesarry if using convert.

        cheers bzrudi

         

Log in to post a comment.