|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-07-02 08:32 UTC] jeremy at co-comp dot co dot uk
Trying:
if (ImageTypes() && IMG_GIF) {
echo 'GIFS enabled';
$im = imagecreatefromgif('img.gif');
}
Still works with GD library that does not support GIFS
producing 'Warning: ImageCreateFromGif: No GIF support in
this PHP build' - it should not have got that far!
'./configure' '--with-mysql=/usr/local/mysql'
'--enable-track-vars' '--enable-safe-mode'
'--with-apxs=/usr/local/apache/bin/apxs'
'--with-zlib=/usr/local/lib' '--with-gd'
'--with-gd-dir=/usr' '--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local' '--enable-shared'
'--with-sablot=/usr/local'
'--enable-sablot-errors-descriptive' '--with-xml'
'--no-create' '--no-recursion'
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 05:00:01 2025 UTC |
That's incorrect code, its: if (ImageTypes() & IMG_GIF) {