Announcement

Collapse
No announcement yet.

imagick with php-7.3 and php-7.4 under "Select PHP Version"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • egrechishkina
    replied
    Thank you, Daniel. I am glad it works now.

    Leave a comment:


  • danman
    replied
    Dear Kate!

    Thank you very much!

    Here are the outputs:

    [root@ ~]# rpm -ql alt-php74-pecl-ext | grep ima
    /opt/alt/php74/etc/php.d.all/imagick.ini
    /opt/alt/php74/usr/include/php/ext/imagick
    /opt/alt/php74/usr/include/php/ext/imagick/php_imagick_shared.h
    /opt/alt/php74/usr/lib64/php/modules/imagick.so

    [root@ ~]# rpm -ql alt-php73-pecl-ext | grep ima
    /opt/alt/php73/etc/php.d.all/imagick.ini
    /opt/alt/php73/usr/include/php/ext/imagick
    /opt/alt/php73/usr/include/php/ext/imagick/php_imagick_shared.h
    /opt/alt/php73/usr/lib64/php/modules/imagick.so

    I have not done any undocumented extension disablement to my knowledge.
    I have only a "readme" file in "/etc/cl.selector/php.extensions.d" directory, nothing else.

    But to get things straight, I checked again and the "imagick" extension is finally present in the "Select PHP Version" extension list.
    I dont exactly understand this, because there has been no change since my previous post, but maybe something restarted...

    Anyways, thank you and Sergey very much for the great support!!!

    Thank you,
    Daniel

    Leave a comment:


  • egrechishkina
    replied
    Hello Daniel,
    alt-php74-pecl-ext looks fine, you should also check if Imagick files are present in the package:

    Code:
    # rpm -ql alt-php74-pecl-ext  | grep ima
    Als for alt-php73-pecl-ext, you might need to reinstall it:

    Code:
    # yum reinstall alt-php73-pecl-ext
    This is the only requirement for modules to be present in Select PHP Version: having the files of the extensions installed.
    Unless you have once used an undocumented feature of disabling the extension from UI. But it should work for all PHP versions. Anyway, I think it is worth checking that directory for the configuration:
    Let us see if you have any files inside /etc/cl.selector/php.extensions.d/ directory.

    If you dont have any files ending with .cfg there. I think youd better create a ticket with our Support Team at https://cloudlinux.zendesk.com/hc/en-us/requests/new

    Thank you!

    Leave a comment:


  • danman
    replied
    Hi Sergey!

    Thanks for the reply.

    The commands given give the following results (so 7.4 is probably not OK, but I couldnt help it with uninstall->install, same thing):
    [root@ ~]# rpm -V alt-php73-pecl-ext
    .......T. /opt/alt/php73/usr/include/php/ext/imagick/php_imagick_shared.h
    SM5....T. /opt/alt/php73/usr/lib64/php/modules/imagick.so
    [root@ ~]# rpm -V alt-php74-pecl-ext
    [root@ ~]#

    I must also add that when I edit the global php.ini for even 7.4 with this, imagick works and is in phpinfo too:
    extension=imagick.so

    But my aim would be that imagick would be available through "Select PHP Version" extension list, so that users can decide wether to enable or disable it.
    Is this possible?
    The problem occurs even with PHP 7.3, "imagick" is not in the list, but it it is in PHP 7.2...

    Thanks,
    Daniel

    Leave a comment:


  • skhristich
    replied
    Hello Daniel,
    Try also to verify that they work correctly:

    Code:
    rpm -V alt-php74-pecl-ext
    
    rpm -V alt-php73-pecl-ext
    Nothing more needed. Hope to hear from you soon. Thank you.

    Leave a comment:


  • danman
    replied
    From my own user:

    Hello Sergey!

    I have these packages installed, but the "imagick" option is still not available under "Select PHP Version" extensions...
    This would be my aim.
    What extra is needed for this?

    Thank you,
    Daniel

    Leave a comment:


  • skhristich
    replied
    Hello Sergey!

    I have these packages installed, but the "imagick" option is still not available under "Select PHP Version" extensions...
    This would be my aim.
    What extra is needed for this?

    Thank you,
    Daniel

    Leave a comment:


  • skhristich
    replied
    Hello Daniel,
    Thank you for reaching out! These modules are installed with the alt-php73-pecl-ext and alt-php74-pecl-ext packages
    Please check that these packages are installed:

    Code:
    # rpm -qa|grep alt-php73-pecl-ext
    
    # rpm -qa|grep alt-php74-pecl-ext
    Thank you.

    Leave a comment:


  • imagick with php-7.3 and php-7.4 under "Select PHP Version"

    Hi!

    I would like imagick to be available with "Select PHP Version" menu.
    This is OK until PHP 7.2, but with 7.3 and 7.4 it s not available.
    I have successfully installed imagick with PECL module installer in cPanel.
    What else is needed?

    Thanks,
    Daniel
Working...
X