Imagewebp function doesn't exist in PHP 5.6?

PHP file:

<?php
echo phpversion();
echo "\n";
var_dump(function_exists('imagewebp'));

      

Output:

5.6.0RC2
bool(false)

      

GD Support Included (GD Version: Included (2.1.0 Compatible))


Where is the problem? "imagewebp" must exist as of PHP 5.5.0 (see http://php.net/manual/en/function.imagewebp.php )

PS: (I'm not the only one ... How do I compile php to enable webp support? )

+3
php php-5.6 php-5.5 gd webp


source to share


No one has answered this question yet

See similar questions:

4
How to compile php for webp support?

or similar:

4270
Link. What does this symbol mean in PHP?
2776
How can I prevent SQL injection in PHP?
2414
Why shouldn't I use the mysql_ * functions in PHP?
2335
Removing an element from an array in PHP
2024
How do you parse and process HTML / XML in PHP?
1906
How does PHP foreach work?
1624
How do I get PHP errors?
1387
startsWith () and endsWith () functions in PHP
1065
Link. What does this error mean in PHP?
4
How to enable Webp support in php GD library in xampp on linux



All Articles
Loading...
X
Show
Funny
Dev
Pics