Inside Moodle... Site admin > Server > PHP Info. Produces the same page as above but check the php.ini locations in the top section. Most installations now split php.ini into multiple files, so your 'find' probably doesn't cut it.
My dev site, for example. It's Docker, but you get the idea...