Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Oct 05, 2011 5:20 am 
Offline
Senior Member

Joined: Thu Mar 11, 2010 1:09 pm
Posts: 62
I have this error in my cms:

GD is not present - image manipulation disabled

so I can't work with images the way I worked on old server, before I moved site to Linode.

I followed this instruction and installed GD library, all went well but I still get this error.

I also read that I might need to enable it in php.ini how do I that?

I have Ubuntu 9.10 Latest 2.6 (2.6.39.1) php5.

Thanks!


Top
   
 Post subject:
PostPosted: Wed Oct 05, 2011 5:51 am 
Offline
Senior Member

Joined: Mon Dec 20, 2010 11:37 pm
Posts: 76
My Debian 6 config, hope it helps:
Code:
root:/etc/php5/conf.d# cat gd.ini
; configuration for php GD module
extension=gd.so


Top
   
 Post subject:
PostPosted: Wed Oct 05, 2011 7:31 am 
Offline
Senior Member

Joined: Thu Mar 11, 2010 1:09 pm
Posts: 62
Thanks, but can you be more specific, what should I do with the code you posted?

I searched /etc/php5/apache2/php.ini and did not found extension=gd.so or anything that has gd in it...

EDIT: actually, I found only this:

[gd]
; Tell the jpeg decode to libjpeg warnings and try to create
; a gd image. The warning will then be displayed as notices
; disabled by default
;gd.jpeg_ignore_warning = 0


Top
   
 Post subject:
PostPosted: Wed Oct 05, 2011 7:37 am 
Offline
Senior Member

Joined: Mon Dec 20, 2010 11:37 pm
Posts: 76
Check if you have /etc/php5/conf.d/gd.ini file with extension=gd.so

If not, you can create it or put "extension=gd.so" in your php.ini.

PD: remember to restart apache


Top
   
 Post subject:
PostPosted: Wed Oct 05, 2011 7:46 am 
Offline
Senior Member

Joined: Thu Mar 11, 2010 1:09 pm
Posts: 62
Thats it ! I had gd.ini file, but it was not in php.ini I just added that line and now all fine :)

Thanks a lot!!! You saved my day! :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group