Put a PHP-file with the phpinfo-command on your webserver and have a look if your changes to php.ini are working. All your PHP-configuration which is active will be listed there.
See
https://www.php.net/manual/en/function.phpinfo.php how to create such a phpinfo-file.