PHP installation Imagick extension problem: Is installed but does not have any method in the extension?

Source: Internet
Author: User
Phpinfo has seen a successful load of the imagick extension, but I'm using get_extension_funcs('imagick');But there is no way.
That's what I'm following:
First, use Yum to install the

yum install -y ImageMagick ImageMagick-devel

The installation was successful ImageMagick-6.5.4
Then install the PHP extension

phpize ./configure --with-php-config=/usr/local/php5.5/bin/php-config --with-imagick=/usr/make && make install

All goes well, but I don't have this method when I use a method in the Imagick extension.
Finally, using the get_extension_funcs('imagick'); function to see the method in this extension, but found nothing?

What is the reason for this?
Environment
Centos 6.5 + nginx1.4.7+php5.5

Reply content:

Phpinfo has seen the Imagick extension successfully loaded, but I get_extension_funcs('imagick'); don't have a way to use it.
That's what I'm following:
First, use Yum to install the

yum install -y ImageMagick ImageMagick-devel

The installation was successful ImageMagick-6.5.4
Then install the PHP extension

phpize ./configure --with-php-config=/usr/local/php5.5/bin/php-config --with-imagick=/usr/make && make install

All goes well, but I don't have this method when I use a method in the Imagick extension.
Finally, using the get_extension_funcs('imagick'); function to see the method in this extension, but found nothing?

What is the reason for this?
Environment
Centos 6.5 + nginx1.4.7+php5.5

You may need php -i |grep 'extension_dir' to run to see if there is a successful so file in the corresponding directory.
Then run php -i |grep 'ini' to find the INI configuration file location, go to add

[imagick]extension = so文件名
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.