Reply to Re: Need help with some OO php

Your name:

Reply:


Posted by Schraalhans Keukenmeester on 05/09/07 20:10

At Wed, 09 May 2007 15:12:04 -0400, Milagro let his monkeys type:

>>
>> But, what's important here, do you know what the accepted upload size is
>> in php.ini? (check using phpinfo(), variable upload_max_filesize). If
>> that's under the form's limit, this might explain why the uploads fail on
>> originals and succeed on the resized/recompressed versions.
>> I think the default might be 2megs.
>> The size specified in the form isn't a hard limit per se, the
>> upload_max_filesize in php.ini is.
>>
>> HTH
>> Sh.
>
>
> Thanks! I think you hit the nail on the head. upload_max_filesize is
> indeed set to 2mb and all the files I'm having problems with are over
> 2mb.
>
> Two more questions. Is there any downside to changing this variable in
> php.ini to a higher value [say 3mb] (other then it consuming more
> server resources) ?

Not that I am aware of, no.

> This is a dedicated server with a speedy processor and 2gb of Ram.
> And if I do change the value in php.ini do I have to restart some
> process or does php pick up those settings right away?
>
> Thanks again.
> M

It all boils down to the number of concurrent users I suppose, you could
benchmark the performance if you expect load/resource issues.

Restart apache after any change to the config files.

On linux, there probably is a script in /etc/init.d/ or /etc/rc.d/init.d/
named apache, apache2 or httpd. On my Gentoo box the proper command would
be /etc/init.d/apache2 restart.

On windows XP machines I know it's possible to restart a service in
Control Panel/Administrative Tools/Services, and perhaps from the command
line. Been too long to remember exactly.

Sh.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация