Changes to upload_max_filesize in Ubuntu php.ini will not take effect

前端 未结 9 2297
耶瑟儿~
耶瑟儿~ 2020-12-05 04:54

I have been trying for two days to increase the max filesize for file uploads via php to 10M from the default 2M. I change the php.ini file that is referenced by phpinfo to

9条回答
  •  春和景丽
    2020-12-05 05:18

    service apache2 reload needs to be run as root, even if it does not appear to fail without root. Running sudo service apache2 reload works. This is in Ubuntu 14.04.

提交回复
热议问题