Using .htaccess may not work on all servers. I suggest you modify the php.ini file instead.
If you don’t know how or don’t have access to do it, kindly get in touch with your hosting.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users