6

That is the error message that I get on my 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 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?

3
  • What version of PHP? Commented Jun 16, 2015 at 0:21
  • PHP 5.5.17 (cli) (built: Sep 20 2014 16:59:16) Copyright (c) 1997-2014 The PHP Group Commented Jun 16, 2015 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 Commented Jun 16, 2015 at 0:24

1 Answer 1

9

I just had 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

Sign up to request clarification or add additional context in comments.

1 Comment

For openSuSE (which uses the php version number in their package names), this is zypper install php5-gd

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.