Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php7.0-gd installed,but still error:Call to undefined function imagecreatefromjpeg() php7.0 #159

Open
nonozone opened this issue Aug 30, 2017 · 5 comments

Comments

@nonozone
Copy link

FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg() in /xxxx/public_html/extensions/jit_image_manipulation/lib/class.image.php:112

GD Support enabled
GD headers Version 2.2.4
GD library Version 2.2.4
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.6.3
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.6.28
WBMP Support enabled
XPM Support enabled
libXpm Version 30411
XBM Support enabled
WebP Support enabled

I don't know how to solve this problem, need your help, thank you.

@nitriques
Copy link
Member

Thanks for the report, but this extension as not been tested with PHP 7. The error is pretty weird tho, since your PHP setup seems ok. Do other image format works ?

@nonozone
Copy link
Author

I donot use other image format,so i dont know it.

@nitriques
Copy link
Member

Can you try a png just to see if it works ?

@nonozone
Copy link
Author

nonozone commented Sep 1, 2017

OK,I found the problem. Just use the mode 1:resize have this problem. Other mode, running normally

@nitriques
Copy link
Member

Very, very weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants