I cannot get a new virtual server to change its php max upload filesize beyond 8MB.
I have tried everything i know and nothing is working…gone into webmin, virtualmin, even created a phpinfo.php file and used file manager to go directly to the file it says is being used.
Server API
FPM/FastCGI
Virtual Directory Support
disabled
Configuration File (php.ini) Path
/etc/php/7.4/fpm
Loaded Configuration File
/etc/php/7.4/fpm/php.ini
Scan this dir for additional .ini files
/etc/php/7.4/fpm/conf.d
Nothing i do is changing the max file upload size on this new virtual server. Its giving me the absolute shits wasting fking hours trying to get something so simple working.
Why on earth cant there just be a single fking place to sort this for a virtual server that over writes everything else? I shouldnt have to fck around going from place to place trying to find where this is being controlled from…just one click, i am there on a virtual server and that fking fixes it period!!!
there are other websites on this system, i dont want to be screwing them up…how do i force this fking thing to change on this virtual server?
Important: Under the caption “Manage PHP Configuration” check if it is referencing the correct file - /etc/php/7.4/fpm/pool.d/158427459318760.conf for example.
If so, click Resource Limits and set Maximum HTTP POST size
It takes a lot of tweaking and restarts to get it right. Make sure to restart the correct php-fpm service when there’s more than one. Use a phpinfo() file to compare local and master columns after making changes.
There may also be MySQL limits to increase for PHP apps that connect to MySQL.
In virtualmin>Services>php-fpm configuration> resource limits:
Maximum memory allocation
Default
Maximum HTTP POST size
Default
Maximum file upload size
Default
Maximum execution time
Default
Maximum input parsing time
Default
Surely the above settings should mean that any virtual server with php configuration settings set as default, should automatically be applying the webmin configuration?
i had to manually go in and edit the above file (Loaded Configuration File /etc/php/7.3/fpm/php.ini)…the Resource settings in Webmin and Virtualmin do nothing.
Is this even working properly in Wbmin and Virtualmin?
I am not convinced its even working…can someone check the above on their system and make sure this isnt a bug! (i run debian 9 and apache2).