J'ai essayé d'utiliser les étapes pour installer ImageMagick de How to install ImageMagick for WAMP 2.5 et de Where to find php_imagick.dll for php 5.5.12 for Windows wampserver 2.5?. J'utilise Windows 10 et WAMP 2.5 avec PHP 5.5.12. J'installer à l'aide ImageMagick-7.0.3-3-Q16-x64-dll.exe et ont essayé d'utiliser quelques-unes de ceImageMagick ne fonctionne pas
- php_imagick-3.1.2-5.5-nts-VC11-x64
- php_imagick- 3.1.2-5.5-nts-VC11-x64
- php_imagick-3.2.0b1-5.5-nts-VC11-x64
- php_imagick-3.4.3rc1-7.0-nts-vc14 64 x
Tous d'entre eux toujours moi Erreur fatale: Classe 'Imagick' introuvable dans C: \ wamp \ www \ test.php à la ligne 19 de tester si imagemagick fonctionne en utilisant ces codes
<?php
$im = new Imagick();
$im->newPseudoImage(100, 100, "magick:rose");
$im->setImageFormat("png");
$im->roundCorners(5,3);
$type=$im->getFormat();
header("Content-type: $type");
echo $im->getimageblob();
?>
J'ai mis les fichiers CORE_RL dans C: \ wamp \ bin \ apache \ apache2.4.9 \ bin et php_imagick.dll ici: C: \ wamp \ bin \ php \ php5.5.12 \ ext \ aidez s'il vous plaît!
avez-vous vérifié 'imagick' dans' phpinfo() 'est activé? – ravisachaniya
Salut wat veux-tu dire par là? Où puis-je trouver 'phpinfo()'? Dans php.ini j'ai inclus extension = php_imagick.dll – sihao
s'il vous plaît jeter un oeil à [phpinfo - Sortie des informations sur la configuration de PHP] (http://php.net/manual/fr/function.phpinfo.php) – ravisachaniya