ispCP - Board - Support
I can not upload alarge .zip file - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: I can not upload alarge .zip file (/thread-9000.html)



I can not upload alarge .zip file - thinktodo - 12-29-2009 01:04 PM

there is a attachment.
I have set upload_max_filesize = 50M in php.ini,and restart apache(service httpd restart),
but,when I upload a .zip file(13.8M),clicking submit button,the page jump to login page.
I notice that,there is a hint on foot:The maximum size of one file is restricted by net2ftp to 48828.125 kB and by PHP to 2M .
that,upload_max_filesize never effective.
if I upload a small .zip file,it is ok
anyone could help me?
thanks a lot


RE: I can not upload alarge .zip file - motokochan - 12-29-2009 03:08 PM

Did you edit the correct php.ini? The global system one in /etc/ isn't used.


RE: I can not upload alarge .zip file - thinktodo - 12-29-2009 03:20 PM

(12-29-2009 03:08 PM)motokochan Wrote:  Did you edit the correct php.ini? The global system one in /etc/ isn't used.

oh,my god,I did modified /etc/php.ini.now I can found 7 php.ini,which one shall I modified?
/etc/php.ini
/etc/ispcp/fcgi/parts/php4/php.ini
/etc/ispcp/fcgi/parts/master/php4/php.ini
/etc/ispcp/fcgi/parts/master/php5/php.ini
/etc/ispcp/fcgi/parts/php5/php.ini
/var/www/fcgi/master/php5/php.ini
/var/www/fcgi/reseller1.crm.com/php5/php.ini


RE: I can not upload alarge .zip file - Nuxwin - 12-29-2009 03:32 PM

Hi ;

/var/www/fcgi/master/php5/php.ini


Cheers ;


RE: I can not upload alarge .zip file - thinktodo - 12-29-2009 04:02 PM

(12-29-2009 03:32 PM)nuxwin Wrote:  Hi ;

/var/www/fcgi/master/php5/php.ini


Cheers ;

yes,It show 20M.but,If I upload a .zip file more than 10M,the page also jump to login page!


RE: I can not upload alarge .zip file - kilburn - 12-29-2009 05:16 PM

You also have to change the "post_max_size" directive Wink


RE: I can not upload alarge .zip file - thinktodo - 12-29-2009 05:58 PM

(12-29-2009 05:16 PM)kilburn Wrote:  You also have to change the "post_max_size" directive Wink

cool!it is OK!thanks