Linux Php Fatal Error Call To Undefined Function Imagecreatefromjpeg
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of call to undefined function imagecreatefromjpeg() php this site About Us Learn more about Stack Overflow the company Business
Call To Undefined Function Imagecreatefromjpeg Centos
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask call to undefined function imagecreatefromjpeg() opencart Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up
Imagecreatefromjpeg Not Working
imagecreatefromjpeg and similar functions are not working in PHP up vote 32 down vote favorite 2 I’ve searched for this and the solutions provided in past questions are completely incomprehensible to me. Whenever I run functions like imagecreatefromjpeg, I get this: Fatal error: Call to undefined function imagecreatefromjpeg() ... I’m working on a new install of PHP; my last installation never had this imagecreatefromjpeg not working on server problem. I don’t get what’s going on. php gd share|improve this question edited Feb 27 '14 at 14:19 TRiG 5,48623170 asked Nov 12 '12 at 4:21 UserIsCorrupt 1,13182135 2 is GD enabled/installed? –Austin Brunkhorst Nov 12 '12 at 4:23 1 Make sure you have GD2 not only installed but also activated in your php.ini. –Havelock Nov 12 '12 at 4:23 2 How would I go about doing that? –UserIsCorrupt Nov 12 '12 at 4:23 add a comment| 6 Answers 6 active oldest votes up vote 48 down vote accepted Install GD Library Which OS you are using? http://php.net/manual/en/image.installation.php Windows http://www.dmxzone.com/go/5001/how-do-i-install-gd-in-windows/ Linux http://www.cyberciti.biz/faq/ubuntu-linux-install-or-add-php-gd-support-to-apache/ share|improve this answer answered Nov 12 '12 at 4:27 admoghal 93874 Gah, the solution in that link worked fine. I've been fiddling with this forever and couldn't get it to work, didn't know it was that simple. Thank you for finding this! –UserIsCorrupt Nov 12 '12 at 4:34 add a comment| up vote 32 down vote In Ubuntu/Mint (Debian based) $ sudo apt-get install php5-gd share|improve this answer answered Feb 4 '14 at 14:36 Pierre de LESPINAY 15.4k29128208 2
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business
Imagecreatefromjpeg Png
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation
Imagecreatefromjpeg In Php
Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like install gd php you, helping each other. Join them; it only takes a minute: Sign up PHP Fatal error: Call to undefined function imagecreatefrompng() up vote 2 down vote favorite That is the error message that I get on my http://stackoverflow.com/questions/13338339/imagecreatefromjpeg-and-similar-functions-are-not-working-in-php php error log. So far, I know that the GD library is the problem, it's not installed ( I think is not installed but it was working before in my server and now is not so I don't know what happened but I want to assume that is not installed). I checked if the module was installed by running php -m and gd doesn't show up, also phpinfo() doesn't show anything related to gd. I installed http://stackoverflow.com/questions/30856865/php-fatal-error-call-to-undefined-function-imagecreatefrompng php on a CentOS server 5.9 with remi repo. Now, the problem is that I can't just run yum install php-gd because it won't have any effect since it was installed manually. Any ideas on how can I install just that module to my php installation? php module gd share|improve this question edited Jun 16 '15 at 0:12 asked Jun 16 '15 at 0:01 Victor 691326 What version of PHP? –Phil Jun 16 '15 at 0:21 PHP 5.5.17 (cli) (built: Sep 20 2014 16:59:16) Copyright (c) 1997-2014 The PHP Group –Victor Jun 16 '15 at 0:22 1 The doco says GD is bundled with PHP since 4.3.6. Sounds like you'd have to go out of your way to not install it. Is there a gd.so file in your PHP extensions dir? Maybe you just need extension=gd.so in your php.ini file –Phil Jun 16 '15 at 0:24 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted I just have to install the php-gd library with the remi repo enabled So if anybody has the same problem here it is: yum install php-gd --enablerepo=remi,remi-php55 share|improve this answer answered Jun 17 '15 at 17:48 Victor 691326 For openSuSE (which uses the php version number in their package names), this is zypper install php5-gd –J
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki https://ubuntuforums.org/showthread.php?t=897224 Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] imagecreatefromjpeg() call to Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 13 Thread: imagecreatefromjpeg() Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode call to undefined Switch to Threaded Mode August 22nd, 2008 #1 Detrol View Profile View Forum Posts Private Message Spilled the Beans Join Date Aug 2008 Beans 16 imagecreatefromjpeg() Hello, im getting this error: Fatal error: Call to undefined function imagecreatefromjpeg() in * On one of my pages. I have been reading through various posts regarding the same problem but their solution hasnt worked for me. Such as: running sudo apt-get install php5-gd adding extension=gd.so to php.ini , uncommenting extension_dir and setting it correctly. What else could there be? Thanks in advance! Adv Reply August 22nd, 2008 #2 windependence View Profile View Forum Posts Private Message I Ubuntu, Therefore, I Am Join Date May 2007 Location Phoenix, Arizona USA Beans 2,909 DistroUbuntu 8.04 Hardy Heron Re: imagecreatefromjpeg() What php application are you using, i.e. message board, CMS, Drupal, etc. This message comes up frequently when trying to open remote URLs in php code and your fopen wrapper in php.ini is not set to On. If this is your own code, you should be aware that this is a security