Skip to main content

Installing php 7.2 concerns

Comments

8 comments

  • cPanelLauren
    Hi @PabloC You shouldn't need an expert to do this. Actually, once you select enable for PHP 7.2 EasyApache will automatically add dependencies as well as recompile apache for you. If you have any trouble though please let us know!
    0
  • PabloC
    Thanks! It seems to be that I have done it! 55433 What do I have to do now? restart Apache? anything else? Can I move sites to 7.2 right away? Thank you!
    0
  • cPanelLauren
    Hi @PabloC You shouldn't have to do anything else! EasyApache4 should have taken care of anything potentially needing done for you. The only thing I would ensure before moving to PHP 7.2 is that you have all the necessary PHP extensions installed on PHP 7.2. You may want to mimic the extensions you have installed on other versions of PHP.
    0
  • PabloC
    Everything went perfectly, and I have installed the extensions I needed, and I already have 4 sites running on PHP 7.2 One last question: I need to install the extension for ImageMagick, and it is not on EasyApache's list. Could you be so kind as to tell me where to look for? Thanks so much!
    0
  • rpvw
    Disclaimer: I don't use, or have installed ImageMagic for EA-4 (I use Cloudlinux and imagick appears to be installed by default for the Alt-PHP versions) - the following informations is from articles on this forum (search for imagick), and what I have found by using a search engine, so research the installation until you feel confident to perform it. I believe you will need to install the imagick through the PHP Pecl installer WHM >> Software >> Module Installers >> "PHP Pecl" Installer >> select the PHP version you want it for > search for imagick and install You might find some tips in the threads , and carefully read @cPanelMichael posts from if it applies to you
    0
  • PabloC
    Thanks rpvw! I am trying, but I have been so far unable to install it. This is what I get: in the final lines it tells me that there's something missing, but I don't know what is it. I would appreciate if you could give me a hand with it. downloading imagick-3.4.3.tgz ... Starting to download imagick-3.4.3.tgz (245,410 bytes) .............done: 245,410 bytes 19 source files, building running: phpize Configuring for: PHP Api Version: 20170718 Zend Module Api No: 20170718 Zend Extension Api No: 320170718 Please provide the prefix of Imagemagick installation [autodetect] : building in /root/tmp/pear/pear-build-rootXIbIMd/imagick-3.4.3 running: /root/tmp/pear/imagick/configure --with-php-config=/opt/cpanel/ea-php72/root/usr/bin/php-config --with-imagick checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /opt/cpanel/ea-php72/root/usr checking for PHP includes... -I/opt/cpanel/ea-php72/root/usr/include/php -I/opt/cpanel/ea-php72/root/usr/include/php/main -I/opt/cpanel/ea-php72/root/usr/include/php/TSRM -I/opt/cpanel/ea-php72/root/usr/include/php/Zend -I/opt/cpanel/ea-php72/root/usr/include/php/ext -I/opt/cpanel/ea-php72/root/usr/include/php/ext/date/lib checking for PHP extension directory... /opt/cpanel/ea-php72/root/usr/lib64/php/modules checking for PHP installed headers prefix... /opt/cpanel/ea-php72/root/usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable the imagick extension... yes, shared checking for pkg-config... /bin/pkg-config checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't exist checking Testing /usr/bin/MagickWand-config... Doesn't exist checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist checking Testing /opt/bin/MagickWand-config... Doesn't exist checking Testing /opt/local/bin/MagickWand-config... Doesn't exist configure: error: not found. Please provide a path to MagickWand-config or Wand-config program. ERROR: `/root/tmp/pear/imagick/configure --with-php-config=/opt/cpanel/ea-php72/root/usr/bin/php-config --with-imagick' failed
    0
  • rpvw
    Did you follow the instruction in this post ?
    0
  • cPanelLauren
    Hello @PabloC Please do let us know if the suggestion by @rpvw was a solution to the issues you had installing ImageMagick
    0

Please sign in to leave a comment.