I ran into the same problem with Wordpress and WP added it’s own php.ini file to the /home/user/etc/ directory.
I ended up doing a
$find / -name “php.ini”
to find where all the php.ini files were being placed. The $ (or # if you are root) is the command prompt from ssh or putty login.