broken gd install in php 5.6 on CentOS 6.5

I'm setting up a new stack of software for experimentation.  

I have CentOS 6.5, MariaDB, and Apache 2.2.  (I tried Apache 2.4, but that was installing in a goofy location, so I rolled back.)

Php 5.3 wasn't getting along great with MariaDB, so I upgraded to PHP 5.6 per

yum insists that php56w-gd is installed.  php_info() says gd is not installed.

There is a [gd] section in php.ini, but it contains only comments.

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

Open in new window

Is there somewhere I need to tell PHP to load the library?  

LVL 32
Daniel WilsonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Run 'phpinfo()' and see if 'gd' is supposed to be enabled in an 'ini' file like it was under PHP 5.3.  And see if it is actually there.  A lot of extensions are loaded thru 'ini' files on my CentOS 6.6 machine.
Daniel WilsonAuthor Commented:
I am on CentOS 6.6, not 6.5.

in my phpinfo() output, the only mention of gd is in the credits.

Which tells me I have to load or enable or activate it somewhere ...
Dave BaldwinFixer of ProblemsCommented:
I have this section that lists the ini files for the extensions:

Additional .ini files parsed       
/etc/php.d/curl.ini, /etc/php.d/dom.ini, /etc/php.d/fileinfo.ini, /etc/php.d/gd.ini, /etc/php.d/imap.ini, /etc/php.d/json.ini, /etc/php.d/ldap.ini, /etc/php.d/mbstring.ini, /etc/php.d/mcrypt.ini, /etc/php.d/mysql.ini, /etc/php.d/mysqli.ini, /etc/php.d/odbc.ini, /etc/php.d/pdo.ini, /etc/php.d/pdo_mysql.ini, /etc/php.d/pdo_odbc.ini, /etc/php.d/pdo_pgsql.ini, /etc/php.d/pdo_sqlite.ini, /etc/php.d/pgsql.ini, /etc/php.d/phar.ini, /etc/php.d/snmp.ini, /etc/php.d/soap.ini, /etc/php.d/sqlite3.ini, /etc/php.d/tidy.ini, /etc/php.d/wddx.ini, /etc/php.d/xmlreader.ini, /etc/php.d/xmlrpc.ini, /etc/php.d/xmlwriter.ini, /etc/php.d/xsl.ini, /etc/php.d/zip.ini

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Daniel WilsonAuthor Commented:
OK, I have that section.  Right after "Scan this dir for additional .ini files".

But gd.ini isn't in there. So ... I think I need a gd.ini file to drop in the correct directory.

Sound right?
Daniel WilsonAuthor Commented:
wait, gd.ini is in the specified folder.

[dwilson@dev php.d]$ cat gd.ini
; Enable gd extension module

Open in new window

But not in the "additional files parsed" list.  

Confused ...
Daniel WilsonAuthor Commented:
One more restart and I got it.
Daniel WilsonAuthor Commented:
Thanks!  You pointed me to the right stuff.
Dave BaldwinFixer of ProblemsCommented:
You're welcome, glad to help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.