I am running Ubuntu Server 20.04 LTS VM. This VM is running to run and manage LAMP stack + SFTP access to manage website files. Apache2 seems to work properly, but PHP 7.4 does not apply ".user.ini" settings.
We created ".user.ini" file inside "/var/www/html" path (default Apache2 path in Ubuntu). Permission are setted properly, but Apache2 does not load settings inside this file.
All files and folder are owned by webdev:www-data (webdev is a custom user that permit us to access to Linux VM using SFTP). Chmod is 775 for this file in this moment. I am not running any custom virtual host, so I am using 000-default.conf settings in
/etc/apache2/site-enabled/000-default.conf
Apache2 continue to apply PHP.ini settings.
Can someone help me? Thanks a lot! Federico