PHP7 Compiled Fine... How to 'activate' ?

#21
looks like we have a winner, and this appears to be my final set of steps:

  • apt-get install lsphp72-*
  • apt-get install libmagickwand-dev pkg-config build-essential
  • mkdir -p ~/tmp
  • pushd ~/tmp
  • Code:
    wget https://pecl.php.net/get/imagick-3.4.3.tgz
  • tar -xf imagick-3.4.3.tgz
  • cd imagick-3.4.3
  • /usr/local/lsws/lsphp72/bin/phpize
  • ./configure --with-php-config=/usr/local/lsws/lsphp72/bin/php-config
  • make
  • make install
  • echo "extension=imagick.so" >> /usr/local/lsws/lsphp72/etc/php/7.2/mods-available/40-imagick.ini
  • /usr/local/lsws/bin/lswsctrl restart
  • popd
 
Last edited by a moderator:
Top