Report this

What is the reason for this report?

php -r "var_dump(function_exists('imageantialias'));" bool(false)

Posted on June 16, 2016

php -r “var_dump(function_exists(‘imageantialias’));” bool(false)

I am fix (bool(true)

PHP Version 5.6.22-1+donate.sury.org~trusty+1 GD Support enabled GD headers Version 2.1.1 GD library Version 2.1.1

i want have install ubuntu 14.04 Webserver Nignx

GD Support enabled GD Version bundled (2.1.0 compatible) FreeType Support enabled



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Sorry to see that your question hasn’t received an answer yet. On recent versions of Ubuntu with PHP 7, imageantialias is available without having to install any libraries. If you are getting false with an older version of PHP, as in the function does not exist, make sure that the GD library is installed. Otherwise, post the output of php -i in a new question. This is the equivalent of running phpinfo(); but using the CLI php.ini and config files.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.