在Ubuntu php.ini中对upload_max_filesize的更改将不会生效
问题描述:
我已经尝试了两天,以将通过php上传文件的最大文件大小从默认的2M增加到10M.我将phpinfo引用的php.ini文件更改为无效.
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 no avail.
我看到了几篇文章,指出php.ini文件的109行周围有语法错误,但是我不知道语法错误是什么或如何纠正.用户指出,由于配置文件中的此错误之后,upload_max_filesize被忽略.请帮忙.
I saw a few articles stating that there is a syntax error around line 109 of the php.ini file, but I don't know what the syntax error is or how to correct it. users stated that because the upload_max_filesize is AFTER this error in the config file it is being ignored. Please help.