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

Title: PHP-Based Uploads
Post 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?
Title: Re: PHP-Based Uploads
Post by: Charlie Brady on June 20, 2003, 09:40:05 PM
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
Title: Re: PHP-Based Uploads
Post by: Jeff Fentum on June 22, 2003, 07:35:09 AM
Actually, I've restarted the system since the edit, and it still does not work. Wouldn't that do the same thing?
Title: Re: PHP-Based Uploads
Post by: Deunan Knute on June 22, 2003, 02:23:27 PM
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