ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Egor Glukhov <kaman120@rndfido.net>
To: Vitalik Salomatin <chelroot74@mail.ru>,
	 ALT Linux Community general discussions
	<community@lists.altlinux.org>
Subject: Re: [Comm] PHP не загружает файл больше 2M.
Date: Sat, 10 Jan 2009 12:14:40 +0300
Message-ID: <49686700.4000306@rndfido.net> (raw)
In-Reply-To: <E1LLVcm-000LG6-00.chelroot74-mail-ru@f187.mail.ru>

Vitalik Salomatin пишет:
> Установил Apache и  PHP. При помощи скрипта 
> <?php
>   if(copy($_FILES["filename"]["tmp_name"],
>      "/tmp/temp/".$_FILES["filename"]["name"]))
>   ?>
> успешно загружаю файл не сервер любым удаленным клиентом.  Беда в том, что только до 2M.
> Увеличиваю значение в /etc/php/5.2.5/cli/php.ini
> upload_max_filesize = 30M.

cli - command line interface, к апачу никакого отношения не 
имеет. Если у Вас mod_php, изменения следует проводить в 
/etc/php/5.2.5/apache2-mod_php/php.ini, если PHP в CGI - 
/etc/php/5.2.5/cgi/php.ini

-- 
Егор Глухов


  reply	other threads:[~2009-01-10  9:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-10  4:39 Vitalik Salomatin
2009-01-10  9:14 ` Egor Glukhov [this message]
2009-01-10 10:14 ` Denis S. Kostin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49686700.4000306@rndfido.net \
    --to=kaman120@rndfido.net \
    --cc=chelroot74@mail.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git