Skip to main content

Imagemagick on cPanel

Comments

7 comments

  • YellowboxNL
    Problem is solve, Think there was something wrong in the php.ini Solution, but not found the problem: cd /opt/cpanel/ea-php81/root/etc cp php.ini php.ini.backup cp /opt/cpanel/ea-php82/root/etc/php.ini php.ini changed the session.save_path back to "/var/cpanel/php/sessions/ea-php81" /opt/cpanel/ea-php81/root/usr/bin/pecl install imagick And it works. After that i copied back the old php.ini, have to look in it what may cause the problem.
    0
  • cPRex Jurassic Moderator
    I'm glad you found a good workaround - let us know what you find with that configuration file!
    0
  • kodeslogic
    I face the same issue with php8.1 and 8.2 and noticed removing "exec" and "open" from php.ini disable_fuction is not enough. I was able to enable Extension imagick after removing all disable_fuction in my php.ini. So I am exactly not sure which disable_fuction caused the problem.
    1
  • cPRex Jurassic Moderator
    @kodeslogic - what else was in your disable line? The only recommendation I have would be to add one at a time back and see where the breakage happens.
    0
  • kodeslogic
    @cPRex I had "show_source, system, shell_exec, passthru, proc_open, mail"
    0
  • cPRex Jurassic Moderator
    Thanks for the list - unfortunately, per my usual luck, I can't reproduce the issue with that list on my end.
    0
  • Unnamed User

    Thanks kodeslogic it works for me

    0

Please sign in to leave a comment.