I downloaded and installed XAMPP 8.1.6 on Arch Linux (xampp-linux-x64-8.1.6-0-installer.run). Everything works great. But I was not lucky to add "php imagick" extension to XAMPP. I installed the ImageMagick package on Arch Linux with pacman and then followed the installation instructions for installing php-imagick. (https://github.com/Imagick/imagick)
- Code: Select all
# cd /opt/lampp
# git clone https://github.com/Imagick/imagick
# cd imagick
# /opt/lampp/bin/phpize && ./configure --with-php-config=/opt/lampp/bin/php-config
# make
# make install
and after adding "extension=imagick.so" to php.ini file and restarting xampp, imagick is not showing in php info page. I get this error message when I check the installed modules with the command.
- Code: Select all
# /opt/lampp/bin/php -m
"Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/lampp/imagick/modules/imagick.so (/usr/lib/libharfbuzz.so.0: undefined symbol: FT_Done_MM_Var), / opt/lampp/imagick/modules/imagick.so.so (/opt/lampp/imagick/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
"
Is there a problem with "libharfbuzz.so.0: undefined symbol: FT_Done_MM_Var" in XAMPP? because when I install PHP 8.1.6 and php-imagick extension over Arch linux packages and check with
- Code: Select all
# php -m