i have this code to count number of pages
$image = new Imagick();
$image->pingImage('129820.pdf');
echo $image->getNumberImages();
i already have php_imagick.dll
in xampp/php/ext and add extension=php_imagick.dll
to php.ini
but i still get Error: Class Imagick not found
What should i do