The php.ini file for php 5.6 is located at
In Nextcloud 11 we also use a .user.ini file:
Max upload size can also be tweaked from Nextcloud itself (Admin -> Additional Settings).
always_populate_raw_post_data=-1 it is set already in the .user.ini file.
The recommended way to update is to wait for the release of a new package.