Re: Subir archivos de más de 8M
| From: | Edgar Diaz | Date: | Tue, 12 Aug 2003 09:01:01 +0000 |
| Subject: | Re: Subir archivos de más de 8M | ||
| References: | 1 2 3 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-39273@lists.php.net to get a copy of this message | ||
Uso RH9 , apache 2.0 y php 4.2.2
Y añadi lo siguiente al httpd.conf :
# add by rAdGe
php_value upload_max filesize 100000000
php_value post_max_size 100000000
[root@radge root]# /etc/init.d/httpd restart
Parando httpd: [FALLÓ]
Iniciando httpd: Syntax error on line 426 of /etc/httpd/conf/httpd.conf:
php_value takes two arguments, PHP Value Modifier
[FALLÓ]
[root@radge root]#
El mar, 12 de 08 de 2003 a las 10:53, Jabi escribió:
> el servidor http tb lleva el limite de las variables post permitidas (al
> menos el apache)
> yo utilizo apache y por defecto no deja subir fiucheros de mas de 2 megas
> busque por ahi y encontre que habi que añadir al httpd.conf las siguientes
> entradas:
>
> php_value upload_max_filesize 25000000
> php_value post_max_size 25000000
>
> no se como sera con el ISS pero bueno, supongo que tb tendra alguna opcion
> parecida
>
> Saludos
> Jabi
>
> ----- Original Message -----
> From: "Edgar Diaz" <webmaster@xanatel.com>
> To: <lista@phpes.com>
> Sent: Tuesday, August 12, 2003 10:41 AM
> Subject: Re: [PHP-ES] Subir archivos de más de 8M
>
>
> > Pues tokando el php.ini enkontré lo siguiente :
> >
> > ; Maximum size of POST data that PHP will accept.
> > post_max_size = 50M
> >
> >
> > ; Whether to allow HTTP file uploads.
> > file_uploads = On
> >
> >
> > ; Maximum allowed size for uploaded files.
> > upload_max_filesize = 100M
> >
> >
> > Modifiqué lo siguiente , pero sigue igual , alguna idea ?
> >
> > salu2 rAdGe
> >
> >
> >
> > ---------------------------------------------------------------------
> > Archivo On-line: http://www.phpes.com/
> > via news: news://news.phpes.com/
> > Manual PHP en espaol: http://www.php.net/manual/es/
> > Para dar de baja la suscripci n, mande un mensaje a:
> > lista-unsubscribe@phpes.com
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en espaol: http://www.php.net/manual/es/
> Para dar de baja la suscripcin, mande un mensaje a:
> lista-unsubscribe@phpes.com
>