Sorry to jumping into this post.
Yesterday, I do have the same problem, I've installed with:
yum install php56u-gd
But after restart of httpd with
systemctl restart httpd.service
it didn't work. I try phpinfo and it wasn't listed in Additional .ini files parsed?
After 30min, it start to work from itself, and it was listed in phpinfo in Additional .ini files parsed
.
Today I get similar error, but only with imap, so I've installed
yum install php56-imap,
restart httpod didn't help.
Restart whole server and it works.
What I'm missing here? What else need to be restarted to add this extensions to php, httpd restart didn't help.
Tnx.