Installing PHP GD Library Mystery

I have been trying to enable GD for php but had no luck so far. I did manage to install GD - just isn't enabled for some reason.

http://imgur.com/a/QPQBW

I'm running ubuntu 14.04 and php5 and php5.6 are both enabled. This is because I never did a2dismod php5 after installing php5.6 from a the ondrej repository. My guess it probably uses the gd.ini when doing a2dismod php5 - But when I a2dismod php5 I receive virtual server errors so I rather leave it enabled instead of troubleshooting that… I have a live-site with a thousand visitors a day so I don't want to mess around with it too much.

PHP runs over FCGid

http://imgur.com/a/K2VhI

Any thoughts how to enable GD from here?

Yes, I restarted apache2 service :)

Thank you!

Regards

Rob

3 Replies

Sorry, I can't help you because I don't run multiple versions of php in my production systems and I also don't use ubuntu, I only use CentOS.

Maybe you should post the errors you mention? maybe we can guess the problem from there, otherwise you are not giving us much information.

@IfThenElse:

Sorry, I can't help you because I don't run multiple versions of php in my production systems and I also don't use ubuntu, I only use CentOS.

Maybe you should post the errors you mention? maybe we can guess the problem from there, otherwise you are not giving us much information.

I don't receive any errors - wish I did! very odd..

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct