I have tried changing upload_max_filesize and post_max_size php.ini file multiple times higher to 250MB but somewhat over time it gets reset to 50MB. How to change it so it wont change back?
Are you attempting to modify the value for your system PHP configuration, or for the internal cPanel PHP configuration? What method are you using to modify the value?
Im aiming in higher upload limit in phpMyAdmin,
I changed following values which seemed to work but over time they get overwritten back to default.
/usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini
/usr/local/cpanel/3rdparty/etc/php.ini
/usr/local/lib/php.ini
I also have set these values in WHM php.ini (this one does not get overwritten but has no impact to phpMyAdmin.