I just get in touch with my friend server, he run his VPS server that use CentOS.
Basically he got problem to enable gd extension in his php installation. He ask me to see his server.
Well, I don’t have experience with CentOS but its not worth to try since I ever use Redhat from version 5 that accidently damage my harddisk
Trying to install with yum.
[root@server yum.repos.d]# yum install php-gd
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Nothing to do
Well, something might be wrong, check repo files.
[root@server yum.repos.d]# ls
CentOS-Base.repo CentOS-Media.repo
[root@server yum.repos.d]# cd ..
[root@server etc]# ls
[main]
#exclude=apache* courier* exim* httpd* mod_ssl* mysql* perl* php* proftpd* pure-ftpd* spamassassin* squirrelmail*
exclude=apache* courier* exim* httpd* mod_ssl* mysql* perl* proftpd* pure-ftpd* spamassassin* squirrelmail*
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
as I see in ‘exclude‘ list, php* exist . That make php-gd isn’t available for installing.
Just remove that from exclude list and I can see gd support from phpinfo() page
- centos php gd
- yum install php-gd
- php gd centos
- php-gd centos
- centos php-gd
- yum install php gd
- yum php gd
- centos install php gd
- gd php centos
- install php-gd centos
- centos php gd install
- install php gd centos
- centos gd php
- yum php-gd
- install gd php centos
- php-gd rpm centos
- centos install php-gd
- centos php gd support
- install gd centos
- gd centos
- install gd on centos
- yum install gd php
- centos php enable gd
- install php-gd on centos
- php gd yum
- centos php with gd
- php centos gd
- php-gd for centos
- php-gd yum
- yum install php-gd centos
- php gd install centos
- centos gd
- yum install php with gd
- centos php gd extension
- php gd extension centos
- yum gd php
- add gd to php centos
- centos install gd
- centos install gd php
- centos php install gd
- centos yum install php gd
- centos yum install php-gd
- enable gd php centos
- enable php gd centos
- install php gd on centos
- yum gd
- centos yum php gd
- centos yum php-gd
- how to install gd on centos
- how to install php-gd on centos
this is very useful to me very nice this site