|
Posted by seaside on 12/20/06 14:07
Cam schrieb:
It works fine when uploading the small files, however when i am testing
> it with a larger file image 100k or more the server seems to freak out.
> The lighttpd error log shows this
>
> (connections.c.1069) denying upload as opening to temp-file for upload
> failed: /var/tmp/lighttpd-upload-2AGhiX No such file or directory
>
> Firefox gives me 'The connection has been reset' message.
>
> I am thinking there is maybe a setting in php.ini I should check? Not
> sure, any ideas would be helpful. Thanks.
Since small files work and big ones fail, these might be your problem:
- Your PHP script just takes too much time and finally gets stopped by
your server. Note, that PHP scripts have a predefined amount of time,
they
need to finish processing a request.
- Your PHP script probably isn't allows to upload files bigger than xxx
KByte.
Both properties are part of your php.ini settings. Review the php.ini
and probably
add more seconds or KBytes.
In case you'd like redefine a php.ini setting from within a PHP file,
have a look here: http://www.php.net/ini_set
Navigation:
[Reply to this message]
|