Hi,
I'm trying to meet the Kitt AWR plug requirements. the lsphp81-imagick only compiles from imagick 6.9, but this plugin requires imagick version 7.
can someone help with what code to enter in terminal to install it? i tried from what I could find online but phpinfo still reads 6.9.
I didnt uninstall the existing imagick if I needed to do that first? there is already extension=imagick file in /usr/local/lsws/lsphp81/bin/php-config/mods-available/40-imagick.ini
sudo apt update
sudo apt-get install php-dev
sudo apt-get install build-essential
sudo apt-get install imagemagick libmagickwand-dev
cd /tmp
wget https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-27.tar.gz
tar -xzvf 7.1.1-27.tar.gz
cd ImageMagick-7.1.1-27
sudo /usr/local/lsws/lsphp81/bin/phpize
./configure --with-imagick=/usr/local/lsws/lsphp81 --with-php-config=/usr/local/lsws/lsphp81/bin/php-config
make
sudo make install
sudo systemctl restart lsws
Note: ioncube wasnt installed by default either and I activated it by:
sudo apt update
sudo apt install lsphp81-ioncube
sudo echo "[extension=ioncube.so](https://extension=ioncube.so)" >> /usr/local/lsws/lsphp81/etc/php/8.1/mods-available/01-ioncube.ini #cant remember if I needed to use this line
I'm trying to meet the Kitt AWR plug requirements. the lsphp81-imagick only compiles from imagick 6.9, but this plugin requires imagick version 7.
can someone help with what code to enter in terminal to install it? i tried from what I could find online but phpinfo still reads 6.9.
I didnt uninstall the existing imagick if I needed to do that first? there is already extension=imagick file in /usr/local/lsws/lsphp81/bin/php-config/mods-available/40-imagick.ini
sudo apt update
sudo apt-get install php-dev
sudo apt-get install build-essential
sudo apt-get install imagemagick libmagickwand-dev
cd /tmp
wget https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-27.tar.gz
tar -xzvf 7.1.1-27.tar.gz
cd ImageMagick-7.1.1-27
sudo /usr/local/lsws/lsphp81/bin/phpize
./configure --with-imagick=/usr/local/lsws/lsphp81 --with-php-config=/usr/local/lsws/lsphp81/bin/php-config
make
sudo make install
sudo systemctl restart lsws
Note: ioncube wasnt installed by default either and I activated it by:
sudo apt update
sudo apt install lsphp81-ioncube
sudo echo "[extension=ioncube.so](https://extension=ioncube.so)" >> /usr/local/lsws/lsphp81/etc/php/8.1/mods-available/01-ioncube.ini #cant remember if I needed to use this line