You edit php.ini here: /etc/php/7.1/fpm/php.ini.
But the config is at /etc/apache2/
Whether php is running as php-fpm or it is running as an apache module?
If Yes, then php.ini should be edited elsewhere.
Lavern_Schuppe answered on June 10th 19 at 15:12
Everything is quite simple.
1. Go to phpinfo ( in the Bitrix Toi the conclusion is) and see what ini file is used.
(not from the console where he may differ)
There is written the full path to php.ini.
2. If you have nginx then .htaccess will not work.
3. In Debian multiple php.ini from 3 pieces, so you may have ruled is not. In the end .htaccess