You'll have to add:
/etc/pki/tls/certs
into php.ini, within open_basedir.
Since you're using cPanel, you'll probably have option to add it through cPanel by going to:
Main >> Security >> Security Center >> open_basedir protection.
If you've using managed server, you'll probably have to reach to your hosting support in order to do that for you.
If this response was helpful to you, consider giving kudos to this post.
If this response solved your problem, click accept as solution to help others solve this issue