Well pardon my intrusion ...
First ... it's been years and years since I compiled AMP stack. While compiling did optimize per server, finally decided using package managers was better. Why? Any security updates ... which could come at any time ... could be acquired only by re-compiling (can't mix yum/rpm installs with compiles).
Please see:
https://www.google.com/search?client=firefox-b-1-d&q=redhat+advisories+php
To see what's loading:
php -i |grep opcache
fist line for above will show:
/etc/php.d/opcache.ini,
ini/config for opache
php -i |grep intl
first line will show
/etc/php.d/intl.ini
catting that ini file:
[root@server]# cat /etc/php.d/intl.ini
; Enable intl extension module
extension=intl.so
extension_dir ... where one finds .so files (typically but not always):
/usr/lib64/php/modules
ls /usr/lib64/php/modules/intl*
a file intl.so should be present.
If it's not there, one then might need to find it:
find / -name intl.so
Then one has to use the full path in the ini file in modules.
Some php extensions are actually installed via pcel.
If this is a new server might best for easier admin in future to begin using/learning package manager.
My 2 cents of course! ;)
'SoS', Ken