phpinfo(); stated its the /etc/php/7.2/apache2/php.ini and not the cli/php.ini
issue resovled
Output from php -i
Configuration File (php.ini) Path => /etc/php/7.2/cli
Loaded Configuration File => /etc/php/7.2/cli/php.ini
Scan this dir for additional .ini files => /etc/php/7.2/cli/conf.d
Additional .ini files parsed => /etc/php/7.2/cli/conf.d/00-ioncube-loader.ini,
The php.ini file specified here is the one i edited.
It’s a self-hosted Ubuntu 18.04 LTS box with Apache2 installed