Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Jeff Fentum on June 20, 2003, 09:36:14 PM
-
I have a site that I store access to PDF files using a PHP script. I'm trying to upload a file to the site that is over 2MB. I have edited the e-smith template file that determines the file size limit to accept files up to 10MB. I expanded the template, looked at the php.ini file, and yes it does show the 10MB edit. But I still can't upload a file over 2MB. What gives?
-
Jeff Fentum wrote:
> I expanded
> the template, looked at the php.ini file, and yes it does
> show the 10MB edit. But I still can't upload a file over 2MB.
> What gives?
Perhaps you haven't restarted apache. PHP is (becomes) part of apache.
Charlie
-
Actually, I've restarted the system since the edit, and it still does not work. Wouldn't that do the same thing?
-
You have to modify at the templates..
Look at this - http://www.e-smith.org/docs/papers/templates.html
The php.ini have their own template folder already, just expand a new custom template from the original template, then modify the max file upload size..
Regards