PHP File Upload limits not showing in RHEL/Centos 8

PHP File Upload limits not showing in RHEL/Centos 8

by Andrew Morris -
Number of replies: 0

Thought I'd drop the community a note to say that I had a large Moodle site that didn't show a raised Maximum uploaded file size setting even when I updated the settings in php.ini.

This was in both a RHEL and Centos 8 distribution.

The fix was to change the settings in php.ini as normal and then do :

  • systemctl restart httpd
  • systemctl restart php-fpm
This then showed the right value.

Hope this helps as it was a bit of a curveball for me.

Andy
Average of ratings: -